概览
TRL ?? Transformers ??????????SFT?????????DPO???????????GRPO????????????????????????
主要功能
- SFT?DPO?GRPO ????
- ? Transformers ????
- ???????
- ???? Python API
要求、安装和快速入门
?? `pip install trl` ?? Python ??Accelerate?PEFT ?????????????
用法
?????????????????????????????????????
模型兼容性与使用场景
?? Hugging Face ???? Transformer ???????????????????????
许可证与风险说明
?????? Apache-2.0?????????????????????
发布与维护
See the official repository for current releases and changes.