github huggingface/trl v0.7.0
v0.7.0: Text Environments, Agents & Tools

latest releases: v0.8.6, v0.8.5, v0.8.4...
12 months ago

Text environments, LLMs with tools and agents!

Text environments provide a learning ground for language agents. It allows a language model to use tools to accomplish a task such as using a Python interpreter to answer math questions or using a search index for trivia questions. Having access to tools allows language models to solve tasks that would be very hard for the models itself but can be trivial for the appropriate tools.

We are excited to bring to the community a complete set of functionalities and full examples to train LLMs to use tools!

Check out the documentation page here and few examples below:

What's Changed

Full Changelog: v0.6.0...v0.7.0

Don't miss a new trl release

NewReleases is sending notifications on new releases.