Skip to content

v0.0.122

Choose a tag to compare

@shouryashashank shouryashashank released this 09 Sep 13:05
· 14 commits to main since this release
c903a37

Changelog

Added

  • Introduced a new chat generation feature.
    • Added predacons.chat_generate method to generate chat responses using trained models.
    • Example usage:
      chat = [
          {"role": "user", "content": "Hey, what is a car?"}
      ]
      chat_output = predacons.chat_generate(
          model=model,
          sequence=chat,
          max_length=50,
          tokenizer=tokenizers,
          trust_remote_code=True
      )

Updated

  • README.md to include documentation and example usage for the new chat generation feature.

What's Changed

Full Changelog: v0.0.121...v0.0.122