The easiest way to run an open model on your own machine: one command downloads and starts it, plus a local REST API and libraries for Python and JavaScript.
Open models & inferencehuggingface
transformers
The core library for working with models: one codebase for text, vision, audio and multimodal tasks, for both inference and training. Most new open models ship through it.
Who it is for
For Python developers and researchers who run and fine-tune models.
How to start
- Install:
pip install "transformers[torch]". - Run
pipeline(task="text-generation", model="Qwen/Qwen2.5-1.5B")from the Quickstart. - Change
taskandmodelto try speech recognition, images and more.
Steps are taken from the README. Check the current version in the repository before running them.
Stars over the last 30 days
Author's description
🤗 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.
More in «Open models & inference»
A self-hosted ChatGPT-style interface that connects to Ollama and any OpenAI-compatible API. Installs with a single Docker command and runs on your own server.
A C/C++ engine that runs language models on ordinary hardware: laptops, phones, GPU-less servers. Much of local AI, Ollama included, is built on it.
Repository of the large open DeepSeek-V3 mixture-of-experts model: description, benchmark results and run instructions. It showed an open model can stand next to closed ones.
The foundation under most modern neural networks: GPU-accelerated tensors and automatic differentiation, wrapped in ordinary Python. Transformers, Llama and nearly every open model are written on it.
An engine for fast model serving on GPUs: frugal with memory and handles many requests at once. The default pick when a model has to run as a service.
