Skip to main content

API map

This playbook does not mirror every API page. Use this map to jump to Hugging Face’s official references.

Adapted for this playbook from the 🤗 Transformers documentation by Hugging Face. Official page: https://huggingface.co/docs/transformers/main_classes/model. Images © Hugging Face (documentation-images) unless noted. This is not a substitute for the upstream docs — verify against the current version.

Covers Hugging Face pages: main_classes/, model_doc/ (500+ model pages)

Main classes

AreaOfficial docs
Modelsmain_classes/model
Configurationconfiguration
Tokenizertokenizer
Pipelinespipelines
Trainertrainer
Text generationtext_generation
Logginglogging
Quantization APIsunder quantization

Model docs (model_doc)

There are 500+ per-architecture API pages (BERT, Llama, Whisper, …). Browse them from the Transformers docs sidebar under API → Models, or open https://huggingface.co/docs/transformers/model_doc/<name>.

This playbook deep-dives a curated set under Flagship models.

Auto classes

Prefer AutoModel*, AutoTokenizer, AutoProcessor, AutoConfig in application code so architecture swaps stay configuration-driven — Auto classes.

Discussion

Comments

Share feedback or questions about this page. No account required.

Loading comments…