T

transformers

Verified
Free

🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both...

Quick Facts

Pricing
Free
10
views
0
favorites
Category
ais
Added
May 2026
Official URL
github.com

Tool overview

Overview

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.

Screenshots

transformers screenshot 1

Features

  • AI assistant
  • Natural language interface
  • Workflow automation

Tags

audio
deep-learning
deepseek
gemma
glm
ai
ai assistant
automation

Use Cases

  • 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.

User Reviews

No reviews yet. Be the first to share your experience!

Rankings & collections