Get started
Listing · context_file

AGENTS.md for huggingface/transformers

free
79 of 81 claims verified
floor 0.9: it goes live only at or above it
@contextfile · trust score 0.9907 over 85 edges
1,190 words
about 1,547 tokens (words x 1.3)
14
sections
15
cited sources
81
claims checked
Apache-2.0
license
2026-11-19
last updated
v1
version

Free sample

The first section: the first 165 characters of 9,271 (about 2%).

# AGENTS.md: Transformers repository context Bracketed tags such as `[07884cba]` give the first eight characters of the source passage that supports each statement.

The offer

LicenseApache-2.0
Reuse termsno source restricts reuse · license.xml (RSL)
Formatsmd
Verification floor0.9 of claims verified
Reportsigned verification report · on the public registry · claims and re-check

Uplift test

No signed uplift test exists for this listing yet, so no uplift figure is shown. When one runs, this block shows the pass rate on the same questions with no context, with an LLM summary of the public docs, and with this artifact, from the signed result file it names.

Free to load

A verified public context entry. Anyone can read it and any agent can load it; it stays live only while its signed report meets the floor.

Contents

  1. AGENTS.md: Transformers repository context
  2. Repository philosophy
  3. Adding a new model
  4. Modeling rules (linter checks)
  5. Modular transformers
  6. Type checking
  7. Tokenizers
  8. Weight loading (v5)
  9. Fusions
  10. Trainer conventions
  11. PEFT
  12. Exporters (experimental)
  13. Development tips
  14. Documentation conventions

Cited sources

Cited sourceClaimsVerified
https://github.com/huggingface/transformers/blob/90cbc670be7f8272dd4db2ebd5ba1cb3b918c4bc/README.md77
https://github.com/huggingface/transformers/blob/90cbc670be7f8272dd4db2ebd5ba1cb3b918c4bc/docs/source/en/add_new_model.md1110
https://github.com/huggingface/transformers/blob/90cbc670be7f8272dd4db2ebd5ba1cb3b918c4bc/docs/source/en/modeling_rules.md88
https://github.com/huggingface/transformers/blob/90cbc670be7f8272dd4db2ebd5ba1cb3b918c4bc/docs/source/en/modular_transformers.md44
https://github.com/huggingface/transformers/blob/90cbc670be7f8272dd4db2ebd5ba1cb3b918c4bc/.ai/skills/add-or-fix-type-checking/SKILL.md1111
https://github.com/huggingface/transformers/blob/90cbc670be7f8272dd4db2ebd5ba1cb3b918c4bc/docs/source/en/custom_tokenizers.md66
https://github.com/huggingface/transformers/blob/90cbc670be7f8272dd4db2ebd5ba1cb3b918c4bc/MIGRATION_GUIDE_V5.md55
https://github.com/huggingface/transformers/blob/90cbc670be7f8272dd4db2ebd5ba1cb3b918c4bc/docs/source/en/fusion_mapping.md55
https://github.com/huggingface/transformers/blob/90cbc670be7f8272dd4db2ebd5ba1cb3b918c4bc/docs/source/en/grad_accumulation.md55
https://github.com/huggingface/transformers/blob/90cbc670be7f8272dd4db2ebd5ba1cb3b918c4bc/docs/source/en/optimizers.md33
https://github.com/huggingface/transformers/blob/90cbc670be7f8272dd4db2ebd5ba1cb3b918c4bc/docs/source/en/peft.md44
https://github.com/huggingface/transformers/blob/90cbc670be7f8272dd4db2ebd5ba1cb3b918c4bc/docs/source/en/exporters.md77
https://github.com/huggingface/transformers/blob/90cbc670be7f8272dd4db2ebd5ba1cb3b918c4bc/docs/source/en/exporters_extend.md33
https://github.com/huggingface/transformers/blob/90cbc670be7f8272dd4db2ebd5ba1cb3b918c4bc/docs/source/en/how_to_hack_models.md11
https://github.com/huggingface/transformers/blob/90cbc670be7f8272dd4db2ebd5ba1cb3b918c4bc/i18n/README_pt-br.md10

Counted from the claims in the signed report this listing is checked against.

Load it

Your agent fetches it in one call with the MCP tool artifacts_download (former name download_artifact). Pass the listing id. Small files come back inline, larger ones as a short-lived signed URL, with the artifact and report digests.

artifacts_download { "listing_id": "68384f1a-47ec-4387-8387-46a7b9033d1e" }

No MCP connection yet? cf install <host> connects your coding agent to ContextFile. The cf CLI has no download command; the agent downloads with the tool above.

Instructions an agent will follow

No file in v1 is loaded as instructions, and no line matches a directive pattern.

Found by name (CLAUDE.md, AGENTS.md, SKILL.md, rules files) and by directive patterns, with no model in the loop. Agents read the same list in world_get (field instructions).