Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Type
/
to search
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
qlycool
/
trl
Public
forked from
huggingface/trl
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Commits
Breadcrumbs
History for
trl
trl
on
main
User selector
All users
All time
Commit history
Commits on Sep 15, 2025
🗑️ Remove deprecated `AlignPropTrainer`, `DDPOTrainer` and `IterativeSFTTrainer` (#4068)
qgallouedec
authored
78f1a92
View commit details
Copy full SHA for 78f1a92
View code at this point
Browse repository at this point
Commits on Sep 14, 2025
Aux loss is already included in the loss returned by Transformers (#4078)
pramodith
authored
5a1c2f9
View commit details
Copy full SHA for 5a1c2f9
View code at this point
Browse repository at this point
🐳 Docker update + Simplify Jobs doc (#3931)
Show description for 9955ee7
3 people
authored
9955ee7
View commit details
Copy full SHA for 9955ee7
View code at this point
Browse repository at this point
Commits on Sep 13, 2025
✂️ [GRPO VLM] Update split sizes to generalize (#4032)
Show description for 69e288e
zucchini-nlp
and
qgallouedec
authored
69e288e
View commit details
Copy full SHA for 69e288e
View code at this point
Browse repository at this point
Commits on Sep 12, 2025
🌾 [Experimental] BEMA for ref model (#3898)
Show description for d655ce4
qgallouedec
and
kashif
authored
d655ce4
View commit details
Copy full SHA for d655ce4
View code at this point
Browse repository at this point
🧪 Add `trl.experimental` Submodule (#4073)
Show description for 91c4bba
August-murr
and
qgallouedec
authored
91c4bba
View commit details
Copy full SHA for 91c4bba
View code at this point
Browse repository at this point
♨️ [GRPO] Fix potential hang in `get_high_entropy_mask` (#4041)
akakakakakaa
authored
f4ff248
View commit details
Copy full SHA for f4ff248
View code at this point
Browse repository at this point
Commits on Sep 11, 2025
Improve docstring of AlignPropTrainer (#4059)
Show description for b8eb5c5
albertvillanova
and
qgallouedec
authored
b8eb5c5
View commit details
Copy full SHA for b8eb5c5
View code at this point
Browse repository at this point
💡 Fix type hint to `make_parser` function in multiple scripts (#4050)
qgallouedec
authored
07f9ad9
View commit details
Copy full SHA for 07f9ad9
View code at this point
Browse repository at this point
Hotfix: Add ParallelismConfig fallback for transformers with old accelerate (#4063)
albertvillanova
authored
44ddc28
View commit details
Copy full SHA for 44ddc28
View code at this point
Browse repository at this point
Remove redundant 'None' from docstrings (#4058)
albertvillanova
authored
e8b8499
View commit details
Copy full SHA for e8b8499
View code at this point
Browse repository at this point
Commits on Sep 9, 2025
🗜 Hotfix: avoid passing `quantization_config=None` (#4019)
qgallouedec
authored
a647e5a
View commit details
Copy full SHA for a647e5a
View code at this point
Browse repository at this point
🪪 Update SFTTrainer to handle labels correctly and add configuration example in paper index (#4051)
qgallouedec
authored
816ac61
View commit details
Copy full SHA for 816ac61
View code at this point
Browse repository at this point
💬 Remove setting chat template in sft script (#4037)
qgallouedec
authored
373a64a
View commit details
Copy full SHA for 373a64a
View code at this point
Browse repository at this point
✨ Improve SFT doc (#4005)
Show description for 09e1924
qgallouedec
and
albertvillanova
authored
09e1924
View commit details
Copy full SHA for 09e1924
View code at this point
Browse repository at this point
Add autodoc for BestOfNSampler and improve docstrings (#4034)
albertvillanova
authored
a228cb5
View commit details
Copy full SHA for a228cb5
View code at this point
Browse repository at this point
🏂 Fix label shifting logic in `SFTTrainer` for compatibility with CP (#4038)
qgallouedec
authored
6c6f13b
View commit details
Copy full SHA for 6c6f13b
View code at this point
Browse repository at this point
Update VLM arch check to `AutoModelForImageTextToText` for DPO and Online DPO (#4049)
sergiopaniego
authored
b3f9f61
View commit details
Copy full SHA for b3f9f61
View code at this point
Browse repository at this point
🧨 DFT (#4042)
qgallouedec
authored
659d2c1
View commit details
Copy full SHA for 659d2c1
View code at this point
Browse repository at this point
⚖️ Remove `average_tokens_across_devices` default replacement (#4039)
qgallouedec
authored
af82b38
View commit details
Copy full SHA for af82b38
View code at this point
Browse repository at this point
Commits on Sep 8, 2025
Add autodoc for AlignPropTrainer and AlignPropConfig (#4033)
albertvillanova
authored
e4ebf3b
View commit details
Copy full SHA for e4ebf3b
View code at this point
Browse repository at this point
Add missing trainer docstrings (#4030)
albertvillanova
authored
e458df6
View commit details
Copy full SHA for e458df6
View code at this point
Browse repository at this point
Fix formatting errors in docstrings (#4025)
albertvillanova
authored
4f9009b
View commit details
Copy full SHA for 4f9009b
View code at this point
Browse repository at this point
Commits on Sep 7, 2025
Align docstring parameters with function definitions (#4017)
albertvillanova
authored
c9484b1
View commit details
Copy full SHA for c9484b1
View code at this point
Browse repository at this point
Commits on Sep 5, 2025
⚖️ Add vLLM server mode and VLM support to OnlineDPOTrainer (#3783)
Show description for d1bf560
4 people
authored
d1bf560
View commit details
Copy full SHA for d1bf560
View code at this point
Browse repository at this point
Commits on Sep 4, 2025
Add missing doc strings in SFTrainer (#4003)
Show description for 19f9b9e
pramodith
and
qgallouedec
authored
19f9b9e
View commit details
Copy full SHA for 19f9b9e
View code at this point
Browse repository at this point
[SFTTrainer]: Add Aux Loss for MoE models. (#4012)
Show description for 1eb3801
pramodith
and
qgallouedec
authored
1eb3801
View commit details
Copy full SHA for 1eb3801
View code at this point
Browse repository at this point
🌵 Refactor entropy_from_logits for memory efficiency (#4013)
qgallouedec
authored
deae7e0
View commit details
Copy full SHA for deae7e0
View code at this point
Browse repository at this point
👷 Added Kernels on the Hub x TRL guide (#3969)
Show description for 0c69fd2
4 people
authored
0c69fd2
View commit details
Copy full SHA for 0c69fd2
View code at this point
Browse repository at this point
[SFT] fix: collator docstring (#4011)
LeonEricsson
authored
b5fd290
View commit details
Copy full SHA for b5fd290
View code at this point
Browse repository at this point
Commits on Sep 3, 2025
📏 `torch_dype` to `dtype` everywhere (#4000)
Show description for 208e9f7
sergiopaniego
and
qgallouedec
authored
208e9f7
View commit details
Copy full SHA for 208e9f7
View code at this point
Browse repository at this point
[GRPO]: Fix Multi-GPU training for Entropy based masking of tokens. (#3964)
Show description for 3bfa981
pramodith
and
qgallouedec
authored
3bfa981
View commit details
Copy full SHA for 3bfa981
View code at this point
Browse repository at this point
💾 [bugfix] fix PPO save_checkpoint (#3998)
hjh0119
authored
6a5dfff
View commit details
Copy full SHA for 6a5dfff
View code at this point
Browse repository at this point
✖️ Support pad-to-multiple-of and padding-free (#3996)
qgallouedec
authored
18633db
View commit details
Copy full SHA for 18633db
View code at this point
Browse repository at this point
[GRPO] Truncated Importance Sampling to address rollout-training mismatch (#3867)
Show description for 12fc85f
LeonEricsson
and
qgallouedec
authored
12fc85f
View commit details
Copy full SHA for 12fc85f
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.