Skip to content

v0.0.121

Choose a tag to compare

@shouryashashank shouryashashank released this 08 Sep 12:42
· 15 commits to main since this release
27d099a

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,
          apply_chat_template=True
      )

Updated

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

What's Changed

Full Changelog: v0.0.120...v0.0.121