# huggingface/transformers

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

- GitHub: https://github.com/huggingface/transformers
- Website: https://huggingface.co/transformers
- Category: LLM & Inference (https://ideas.asveas.com/c/llm); also Generative Media
- Tags: audio, deep-learning, deepseek, gemma, glm, llm, machine-learning, model-hub, natural-language-processing, nlp, pretrained-models, python, pytorch, pytorch-transformers
- Language: Python · License: Apache-2.0
- Stars: 168,815 · Forks: 35,195 · Open issues: 1,077
- Last push: 2026-11-11 (today)
- Vibe score: 98/100

## What it is
Transformers acts as the model-definition framework for state-of-the-art machine learning with text, computer vision, audio, video, and multimodal models, for both inference and training. It centralizes the model definition so that this definition is agreed upon across the ecosystem. transformers is the pivot across frameworks: if a model definition is supported, it will be compatible with the majority of training frameworks (Axolotl, Unsloth, DeepSpeed, FSDP, PyTorch-Lightning, ...), inference engines (vLLM, SGLang, TGI, ...), and adjacent modeling libraries (llama.cpp, mlx, ...) which leverage the model definition from transformers.

## When to use it
Reach for transformers when you need to call, serve, run locally, fine-tune or chat with a language model — it's written in Python and fits stacks tagged audio, deep-learning, deepseek, gemma.

## Maintenance
huggingface/transformers looks very actively maintained: the last push was today (2026-11-11), with 168,815 stars and 1,077 open issues.

## Quick start
```bash
git clone https://github.com/huggingface/transformers.git
```

## Alternatives in LLM & Inference
- [ollama/ollama](https://github.com/ollama/ollama) — Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models. (★187k, Go, vibe 99/100) · details: https://ideas.asveas.com/r/ollama/ollama
- [open-webui/open-webui](https://github.com/open-webui/open-webui) — User-friendly AI Interface (Supports Ollama, OpenAI API, ...) (★158k, Svelte, vibe 98/100) · details: https://ideas.asveas.com/r/open-webui/open-webui
- [langflow-ai/langflow](https://github.com/langflow-ai/langflow) — Langflow is a powerful tool for building and deploying AI-powered agents and workflows. (★157k, Python, vibe 98/100) · details: https://ideas.asveas.com/r/langflow-ai/langflow
- [vllm-project/vllm](https://github.com/vllm-project/vllm) — A high-throughput and memory-efficient inference and serving engine for LLMs (★96.8k, Python, vibe 96/100) · details: https://ideas.asveas.com/r/vllm-project/vllm
- [lobehub/lobehub](https://github.com/lobehub/lobehub) — 🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week. (★85k, TypeScript, vibe 95/100) · details: https://ideas.asveas.com/r/lobehub/lobehub
- [unslothai/unsloth](https://github.com/unslothai/unsloth) — Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more. (★79.3k, Python, vibe 95/100) · details: https://ideas.asveas.com/r/unslothai/unsloth

---
Source: https://ideas.asveas.com/r/huggingface/transformers · Catalog: https://ideas.asveas.com/llms.txt
