huggingface

    huggingface/transformers

    #36 this week

    πŸ€— 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.

    deep-learning
    llm
    machine-learning
    nlp
    audio
    deepseek
    gemma
    glm
    hacktoberfest
    Python
    Apache-2.0
    167.6K stars
    34.9K forks
    167.6K GitHub watchers
    Updated Oct 13, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    Ranks #36 of 2,845 repositories GStars tracks this week (top 1%).

    5 releases in the last 90 days, the latest 6 days ago, with 437 contributors on GitHub.

    Peaked at #14 in the weekly ranking the week of Sep 13, its best in the past year.

    Use Cases & Benefits

    • Provides a unified framework for defining, training, and running state-of-the-art machine learning models across text, vision, audio, and multimodal tasks.
    • Centralizes model definitions to ensure compatibility across multiple training frameworks, inference engines, and adjacent libraries, simplifying model reuse and deployment.
    • Use for quickly deploying pretrained models for natural language processing tasks like text generation, summarization, and translation with minimal setup.
    • Use for building and fine-tuning custom computer vision models such as image classification, object detection, and visual question answering.
    • Use for developing audio and speech applications including automatic speech recognition, text-to-speech, and audio classification leveraging pretrained models.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    Apache 2.0

    Permissive: commercial use, modification and redistribution are allowed with attribution; includes an explicit patent grant from contributors.

    Community files

    • README: present
    • Contributing guide: present
    • Code of conduct: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    State-of-the-art pretrained models for inference and training

    Transformers acts as the model-definition framework for state-of-the-art machine learning models in text, computer vision, audio, video, and multimodal model, 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.

    We pledge to help support new state-of-the-art models and democratize their usage by having their model definition be simple, customizable, and efficient.

    There are over 1M+ Transformers model checkpoints on the Hugging Face Hub you can use.

    Explore the Hub today to find a model and use Transformers to help you get started right away.

    Transformers works with Python 3.9+ PyTorch 2.1+, TensorFlow 2.6+, and Flax 0.4.1+.

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

    Excerpt from the huggingface/transformers README on GitHub (Apache-2.0 license). Β© its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Aug 12: +290Aug 13: +30Aug 29: +34Sep 13: +272Sep 14: +487Sep 15: +288Sep 16: +73Sep 17: +50Sep 18: -7Sep 19: +75Sep 20: +82Sep 21: +6Oct 11: +392Oct 12: +23Oct 13: +67

    +4,636 stars over 80 days across 22 snapshot days; best day +487 on Sep 14.

    Forks

    34.9K+836

    Open issues

    2.3K-49

    Compared with peers in Deep Learning

    Fastest-growing repositories GStars tracks in this cohort for the week of Oct 11, by 7-day star growth

    huggingface/transformers compared with Deep Learning repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    p-e-w/heretic35.5K+1.3K41124 days ago
    koharu-rs/koharu6.4K+4836330 days ago
    pytorch/pytorch105.0K+4496422 days ago
    sgl-project/sglang37.6K+156753 days ago
    huggingface/transformers167.6K+0756 days ago
    CorentinJ/Real-Time-Voice-Cloning60.2K+075β€”
    Category median37.6K+44964β€”

    Also by huggingface

    Other repositories from this maintainer that GStars tracks

    Discover Repositories

    Search across tracked repositories by name or description