Find tools › Open-source projects › Write code faster

transformers
Open-source project · by huggingface
A Python toolkit to run and fine-tune thousands of open-source AI models for text, speech, and images.
For developersVery popular119,775,783 installs a month
What it costs
Free and open source; you may pay for the AI model it uses.
Use it to
- Run open-source language models locally with Python pipelines
- Transcribe audio using models like Whisper
- Classify images and process multimodal inputs in Python code
How to start
Create and activate a virtual environment using venv or uv.
Install the library with PyTorch support using
pip install "transformers[torch]".Load a model task using
pipeline(task="text-generation", model="Qwen/Qwen2.5-1.5B")and pass your input text.
Before you install
- Found automaticallyNot reviewed by a person yet. Check it before installing.
- License: Apache-2.0You are allowed to use it under these terms.
- Last updated 2026-11-18
More detail
Hugging Face Transformers is an open-source Python library to download, run, and train state-of-the-art machine learning models for text, vision, and audio.
Provides a standard interface to run thousands of pretrained AI models locally or in Python applications instead of writing custom model code from scratch.
Similar tools
Descriptions are written in plain English from each project's own documentation and refreshed by our agent; this one was last checked 2026-10-10. Spotted a mistake? · Open in Find tools · © 2026 Which AI Map