Skip to main content

v0.0.121

· One min read
Shourya Shashank
Maintainer of Predacons

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: https://github.com/Predacons/predacons/compare/v0.0.120...v0.0.121


Github Release Page: https://github.com/Predacons/predacons/releases/tag/v0.0.121