Hugging Face Transformers
Model-definition framework for state-of-the-art machine learning models.
Mostly friendly. Welcome, with extra rules.
AI-assisted PRs are welcome if disclosed, coordinated on an issue and fully reviewed and tested by a human; no pure-agent PRs. For now first-time contributors are asked not to use code agents for issues or PRs, and autonomous agents not to open any.
Policy by area
- Code contributionsPatches, pull requests and other changes written with AI tools.
- Mostly friendly
- AI use must be disclosed
- Contributor takes full responsibility
- A human must review the output
- No autonomous agents
- Issues & bug reportsBug reports, security reports and issues found or written with AI tools.
- Friendly
- No autonomous agents
- AI-written textPull request descriptions, issue comments and summaries written by AI.
- No policy
In their own words
Code contributions
Do not submit "pure agent" PRs. The human submitter is responsible for reviewing all changed lines, validating behavior end-to-end, and running relevant tests.
If AI tools were used, disclose this in the PR description and include: coordination link, differentiation from existing PRs (if applicable), and test commands/results.
Issues & bug reports
we ask that first-time contributors do not use code agents to create issues or PRs at this time.
We'd also ask autonomous agents not to open any PRs or issues for the moment.
Sources
- Contribute to 🤗 Transformersgithub.com/huggingface/transformers/blob/main/CONTRIBUTING.mdSnapshot 10 Oct 2026