#133 · Primary category: Deep Learning Frameworks

Trinity-RFT

agent llm rlhf

Trinity-RFT is a general-purpose, flexible and scalable framework designed for reinforcement fine-tuning (RFT) of large language models (LLM).

Project last updated:08/13/26

GitHub Stars

696

Forks

79

Contributors

28

License

Apache-2.0

Why we included this project

Teams that want to move a model beyond supervised fine-tuning into reinforcement fine-tuning will find a practical starting point here. Trinity-RFT splits the RFT loop into three cooperating pieces: an Explorer that gathers experience through agent-environment interaction, a Trainer that updates weights, and a Buffer that handles data processing. That separation lets you reason about each stage instead of wrestling with one monolithic script. It ships with working examples of GRPO and related algorithms, supports LoRA, multi-modal models, and FSDP2/Megatron parallelism, and even offers a GPU-free backend for experimentation. That makes it useful both for agent developers sharpening a model on domain-specific tasks and for RL researchers prototyping new algorithms on compact, plug-and-play modules, and the tutorials walk through each workflow for teams new to RL-based training.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category