Transformers

The first stop for nearly every open model: loading, training and inference

What it is

Hugging Face’s model library offering a unified loading interface for tens of thousands of pretrained models across text, vision, audio and multimodal. Most open-model example code starts here.

Highlights

  • One interface over tens of thousands of pretrained models
  • Text, vision, audio and multimodal covered
  • Seamless with the model community, works out of the box
  • Mature tooling for both training and inference

How to use

Install with pip, load a model in a few lines for inference, and use the official trainer when you need to fine-tune.

License

Released under Apache-2.0. Read the terms before commercial use or redistribution, especially if you plan to offer it as a service.