huggingface/transformers

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

View on GitHub ↗Jump to charts ↓Open shareable report →

Data as of . Signed-in members get hourly updates — create a free account.

Summary Information

Updated 51 minutes ago
Added to GitGenius on April 28th, 2023
Created on October 29th, 2018
Open Issues & Pull Requests: 2,357 (+2)
GitHub issues: Enabled
Number of forks: 34,766
Total Stargazers: 167,044 (+5)
Total Subscribers: 1,237 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 12.5 hours
Mean response time: 86.0 days
90th percentile: 210.2 days
Tracked items: 6,017

How this project is maintained

About 4% of issues opened in the past year have never received a reply. 92% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. 32% of tracked open issues have had no activity in three months. 89% of issues opened in the past year have been closed, leaving a working backlog.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 552
New in 7 days: 34
Closed in 7 days: 61
Avg open age: 468 days
Stale 30+ days: 439
Stale 90+ days: 396

Recent activity

Opened in 7 days: 30
Closed in 7 days: 44
Comments in 7 days: 35
Events in 7 days: 111

Top labels

  • bug (2,720)
  • Feature request (854)
  • wontfix (437)
  • New model (335)
  • WIP (194)
  • Vision (179)
  • trainer (130)
  • Good Second Issue (120)

Most active issues this week

Sign in to see which issues are moving.
Sign in

Detailed Description

The Transformers library is a Python-based model-definition framework maintained by Hugging Face that provides unified access to state-of-the-art machine learning models across text, vision, audio, video, and multimodal domains. Licensed under Apache 2.0, it serves as a central pivot point for the machine learning ecosystem, ensuring that model definitions are standardized and compatible across multiple training frameworks like Axolotl, Unsloth, DeepSpeed, and PyTorch-Lightning, as well as inference engines including vLLM, SGLang, and TGI. The library hosts over one million pretrained model checkpoints on the Hugging Face Hub that users can immediately leverage for both inference and training tasks.

The repository operates as a highly active open-source project with substantial community engagement.

The library emphasizes accessibility through its Pipeline API, a high-level inference class that abstracts away preprocessing complexity for text, audio, vision, and multimodal tasks. Users can instantiate pipelines with just a few lines of code, with models automatically downloaded and cached for reuse. The framework supports multiple modalities including automatic speech recognition, image classification, and visual question answering. Installation requires Python 3.10 or higher and PyTorch 2.4 or later, with the library designed to work seamlessly across PyTorch, JAX, and TensorFlow 2.0 frameworks.

The design philosophy prioritizes ease of use for researchers, engineers, and developers through minimal abstractions, exposing model internals consistently while keeping the API unified across all pretrained models. The library explicitly targets scenarios where practitioners want to leverage existing pretrained models rather than building neural network components from scratch, and it is optimized specifically for PyTorch training workflows. The repository maintains internationalized documentation with README files in multiple languages including Simplified Chinese, Traditional Chinese, Korean, Spanish, Japanese, Hindi, Russian, Portuguese, Telugu, French, German, Italian, Vietnamese, Arabic, Urdu, Bengali, Persian, and Turkish, reflecting its global user base.