🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both...
Transformers is a model-definition framework for machine learning with text, computer vision, audio, video, and multimodal models, supporting both inference and training. It centralizes model definitions so they are agreed upon across the ecosystem, and it acts as a pivot across frameworks: supported model definitions are compatible with training frameworks such as Axolotl, Unsloth, DeepSpeed, FSDP, and PyTorch-Lightning; inference engines such as vLLM, SGLang, and TGI; and adjacent modeling libraries such as llama.cpp and mlx. The library works with Python 3.10+ and PyTorch 2.5+, and can be installed with pip install "transformers[torch]" or from source. It provides a Pipeline API, a high-level inference class that supports text, audio, vision, and multimodal tasks, handling input preprocessing and returning appropriate output. There are over 1M+ Transformers model checkpoints on the Hugging Face Hub. The README also lists example models and tasks across audio, computer vision, multimodal, and NLP, including automatic speech recognition, image classification, visual question answering, text generation, summarization, and translation.

Teams use Transformers to generate text with a specified model.
Teams use Transformers to perform automatic speech recognition.
Teams use Transformers to classify images.
Teams use Transformers to answer visual questions.
Teams use Transformers to chat with a model.
Teams use Transformers to train state-of-the-art models in three lines of code.
Teams use Transformers to move a single model between PyTorch/JAX/TF2.0 frameworks.
Teams use Transformers to use pretrained models for inference and training.
✨ Zero-config AI chat assistant. No API key needed — sign up and instantly chat with GPT-5, Claude 4, Gemini 2.5, DeepSeek & 100+ top models. Pay-as-you-go saves you more. Available on Web, iOS, macOS, Android, Linux, Windows. - ChatGPTNextWeb/NextChat
Discover Lorka, a multi-AI tool to combine GPT, Gemini, DeepSeek, and more in a single subscription. Fast, flexible, all-in-one AI.
Download DeskClaw — the easiest way to run OpenClaw AI agent on your desktop. No terminal, no config. Works on Windows & macOS. Free to start.
Official website restored from the pre-incident audit; product details pending editorial verification.