releases.shpreview

v0.8.2

v0.8.2: ORPO & CPO Trainer / Vision LLMs support for `SFTTrainer`, KTO fixes

April 11, 2024TRLView original ↗
$npx -y @buildinternet/releases show rel_1U_mLEvaQpxD5CW_JQQC3

ORPO Trainer & Vision LLMs support for SFTTrainer, KTO fixes

This release includes two new trainers: ORPO from KAIST and CPO
The release also includes Vision LLM such as Llava support for SFTTrainer, please see: https://github.com/huggingface/trl/blob/main/examples/scripts/vsft_llava.py for more details

ORPO Trainer

CPO Trainer

VLLMs support for SFTTrainer

You can now use SFTTrainer to fine-tune VLLMs such as Llava ! See: https://github.com/huggingface/trl/blob/main/examples/scripts/vsft_llava.py for more details

KTO Fixes

Many fixes were introduced for the KTOTrainer:

10x PPO !

Other fixes

New Contributors

Full Changelog: https://github.com/huggingface/trl/compare/v0.8.1...v0.8.2

Fetched April 7, 2026