94
/ 100
A top-tier open source project. Docs, tests, and CI are all in excellent shape.
Train transformer language models with reinforcement learning.
Top fixes
Highest-impact changes first, ranked by point weight
- 1Install and run instructions9pt
Add a .env.example listing all required environment variables so contributors know what to set up.
- 2Reproducibility6pt
Commit poetry.lock, uv.lock, pdm.lock, Pipfile.lock, conda-lock.yml, or another lockfile for your Python dependency manager.
- 3Reproducibility6pt
Add additional package-ecosystem entries (especially github-actions) to keep all dependencies current.
Working through the fixes? Let every push regrade itself.
The free GitHub App rescans this repo on every push and posts the grade as a commit check, so the score climbs without coming back to rescan by hand.
Scorecard
Every check, grouped by category and sorted worst-first
Documentation
97
README documents how to install the project.
README is present.
Licensed under Apache-2.0.
Contributing guide is detailed and thorough.
Engineering
90
No dependency lockfile found (−70 pts).
→ Commit poetry.lock, uv.lock, pdm.lock, Pipfile.lock, conda-lock.yml, or another lockfile for your Python dependency manager.
Test files detected (tests).
CI is configured (.github/workflows/build_documentation.yml).
Linter or formatter configured ([tool.ruff] / [tool.black] in pyproject.toml).
Issue or PR templates present.
Project health
100
Dependency manifest found (pyproject.toml).
Repository has a description.
Actively maintained (pushed within the last month).
.gitignore present.
Repository health signals
Activity, community, and responsiveness at scan time
Activity
- 211 / 490Commits (30d / 90d)
- 2,821Forks
- 88Releaseslatest 3y ago
Community
- 75% - GoodCommunity health
- 2 bus factorauthors own >50% of commits
- 18,764Watchers
Responsiveness
- 19d 3hMedian issue response
- 2hMedian PR merge time
- 415Open issues
Repository files25 root entries
- .ai
- .cursor
- .githubGood: CI is configured (.github/workflows/build_documentation.yml).Good: Dependabot configured for github-actions.Good: Issue or PR templates present.
- assets
- dockerGood: Environment pinned via docker/trl-dev/Dockerfile.
- docs
- examples
- scripts
- testsGood: Test files detected (tests).
- trl
- .gitignoreGood: .gitignore present.
- .pre-commit-config.yaml
- AGENTS.md
- CITATION.cff
- CLAUDE.md
- CODE_OF_CONDUCT.mdGood: Code of conduct present.
- CONTRIBUTING.mdGood: Contributing guide is detailed and thorough.Good: Contributing guide includes setup/install instructions.Good: Contributing guide describes code style expectations.Good: Contributing guide explains how to run tests.Good: Contributing guide describes the PR/review workflow.Good: Contributing guide includes code examples.
- LICENSEGood: Licensed under Apache-2.0.
- Makefile
- MANIFEST.in
- MIGRATION.md
- pyproject.tomlGood: Dependency manifest found (pyproject.toml).
- README.mdGood: README is present.Good: README is well structured with multiple sections.Good: README includes screenshots or visuals. Great for first impressions.Good: README has code examples.Good: README links to a live demo or deployed app.Good: README includes status badges.Good: README documents how to install the project.Good: README documents how to run the project.
- RELEASE.md
- VERSION
Add this badge to your README
It updates automatically each time the repo is re-graded.
[](https://www.repo-grade.com/report/huggingface/trl)