Skip to content

Glossary: NLP with Transformers

Auto classes

Also written: AutoTokenizer, AutoModel, AutoModelForSequenceClassification, AutoModelForTokenClassification, AutoModelForSeq2SeqLM, AutoModelForQuestionAnswering

Classes that read a model's configuration file and pick the right architecture. The same code then works for BERT, DistilBERT, RoBERTa and others. `AutoModel` loads a model with no task head.

Where the book teaches it

Related terms

ConfigurationClassification head