Home/Computer Vision/transformers
transformers logo

transformers

huggingface/transformers

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

GraphCanon updated 5d · GitHub synced 5d · 53 views this month

164k stars34k forksLast push 5d Python Apache-2.0

Decision brief

Transformers is a versatile library for training and deploying state-of-the-art models across various domains such as NLP, computer vision, speech recognition, and multi-modal tasks. It supports PyTorch 2.4+ and Python 3

Good fit when

  • The library excels in scenarios where you need highly optimized and pre-trained models available for a wide range of data types including text, vision, audio, and multimodal inputs.
  • It is ideal if your project requires seamless integration with PyTorch framework and needs to leverage the most recent advancements in deep learning algorithms.

Avoid when

  • If the specific task or dataset size does not benefit from state-of-the-art models due to computational inefficiency or overfitting, alternatives may be more suitable.
  • It might not be the best choice for projects that strictly require compatibility with frameworks other than PyTorch and Python versions older than 3.10.
Requirements:
Min 4 GB RAM; Works with Python 3.10+ and PyTorch 2.4+

Observed Jul 11, 2026 · Source: enrich:decision_facts

Verify the decision

Maintenance and security

Full trust report
Maintenance
Very active (0d since push)
As of 5d
Provenance
Not a fork · Organization account
As of 5d
Security (OSV)
No lockfile
As of 1mo

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Backing

Company context for Hugging Face. Display-only - separate from trust and ranking.

Company
Hugging Face·GitHub org profile·1mo
Employees
160·Wikidata (P1128 employees)·1mo
Funding
$235,000,000 (2023-08)·GraphCanon curated seed (public press)·1mo
Commercial model
OSS + managed cloud·GraphCanon curated seed·1mo

Install

pip install transformers
PyPI

How it fits your stack(125)

Typed graph edges - alternatives, integrations, successors, and dependencies. Ranked by relationship type, not raw GitHub stars.

Integrates

Depends on

Related

Relationship graph

Optional deeper exploration of typed edges and category neighbours.

Similar tools

Same-category neighbours not already linked as typed edges.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

🤗 Transformers is a Python library providing tools and models for training and using state-of-the-art machine learning models across various domains including natural language processing (NLP), computer vision, speech recognition, and other multidomain applications.

Capability facts

Languages
python

Source: github.language+pyproject.toml · Aug 16, 2026

Categories

Graph entities

Compatibility

Sourced claims from the README excerpt - not unsourced marketing copy.

Python runtimePython

Source: README excerpt (regex_v1, Aug 16, 2026)

Transformers works with Python 3.10+, and [PyTorch](https://pytorch.org/get-started/locally/) 2.5+.
Source link

Tags

README

Installation

Transformers works with Python 3.10+, and PyTorch 2.5+.

Create and activate a virtual environment with venv or uv, a fast Rust-based Python package and project manager.

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.