Refolk

Top Python Transformers repositories on GitHub

Transformer model implementations, training kits, and finetuning tooling. Filtered to projects whose primary language is Python.

Ranked by stars across 798 Python repositories tagged transformers. Refreshed daily.

  1. 1
    hiyouga/LlamaFactory72,315 · ⑂ 8,849

    Unified Efficient Fine-Tuning of 100+ LLMs & VLMs (ACL 2024)

    • fine-tuning
    • llama
    • llm
    • peft
    • transformers
    • rlhf
  2. 2

    🧑‍🏫 60+ Implementations/tutorials of deep learning papers with side-by-side notes 📝; including transformers (original, xl, switch, feedback, vit, ...), optimizers (adam, adabelief, sophia, ...), gans(cyclegan, stylegan2, ...), 🎮 reinforcement learning (ppo, dqn), capsnet, distillation, ... 🧠

    • deep-learning
    • deep-learning-tutorial
    • pytorch
    • gan
    • transformers
    • reinforcement-learning
  3. 3

    Learn it. Build it. Ship it for others.

    • agents
    • ai
    • ai-agents
    • ai-engineering
    • computer-vision
    • course
  4. 4
    lucidrains/vit-pytorch25,329 · ⑂ 3,506

    Implementation of Vision Transformer, a simple way to achieve SOTA in vision classification with only a single transformer encoder, in Pytorch

    • artificial-intelligence
    • attention-mechanism
    • transformers
    • computer-vision
    • image-classification
  5. 5
    huggingface/peft21,291 · ⑂ 2,341

    🤗 PEFT: State-of-the-art Parameter-Efficient Fine-Tuning.

    • adapter
    • diffusion
    • llm
    • parameter-efficient-learning
    • python
    • pytorch
  6. 6
    stas00/ml-engineering18,154 · ⑂ 1,152

    Machine Learning Engineering Open Book

    • pytorch
    • slurm
    • large-language-models
    • llm
    • machine-learning
    • scalability
  7. 7
    arc53/DocsGPT17,942 · ⑂ 2,061

    Private AI platform for agents, assistants and enterprise search. Built-in Agent Builder, Deep research, Document analysis, Multi-model support, and API connectivity for agents.

    • ai
    • python
    • natural-language-processing
    • react
    • chatgpt
    • docsgpt
  8. 8
    NVIDIA/Megatron-LM16,772 · ⑂ 4,100

    Ongoing research training transformer models at scale

    • large-language-models
    • model-para
    • transformers
  9. 9
    BlinkDL/RWKV-LM14,570 · ⑂ 1,006

    RWKV (pronounced RwaKuv) is an RNN with great LLM performance, which can also be directly trained like a GPT transformer (parallelizable). We are at RWKV-7 "Goose". So it's combining the best of RNN and transformer - great performance, linear time, constant space (no kv-cache), fast training, infinite ctx_len, and free sentence embedding.

    • attention-mechanism
    • deep-learning
    • gpt
    • gpt-2
    • gpt-3
    • language-model
  10. 10
    PaddlePaddle/PaddleNLP12,952 · ⑂ 3,036

    Easy-to-use and powerful LLM and SLM library with awesome model zoo.

    • nlp
    • embedding
    • bert
    • ernie
    • paddlenlp
    • pretrained-models
  11. 11
    neuml/txtai12,673 · ⑂ 835

    💡 All-in-one AI framework for semantic search, LLM orchestration and language model workflows

    • python
    • search
    • nlp
    • semantic-search
    • vector-search
    • txtai
  12. 12
    speechbrain/speechbrain11,641 · ⑂ 1,702

    A PyTorch-based Speech Toolkit

    • speech-recognition
    • speech-toolkit
    • speaker-recognition
    • speech-to-text
    • speech-enhancement
    • speech-separation
  13. 13

    Semantic segmentation models with 500+ pretrained convolutional and transformer-based backbones.

    • segmentation
    • image-processing
    • pspnet
    • unet
    • unet-pytorch
    • pytorch
  14. 14
    OpenRLHF/OpenRLHF9,663 · ⑂ 972

    An Easy-to-use, Scalable and High-performance Agentic RL Framework based on Ray (PPO & DAPO & REINFORCE++ & VLM & TIS & vLLM & Ray & Async RL)

    • transformers
    • vllm
    • large-language-models
    • raylib
    • reinforcement-learning-from-human-feedback
    • reinforcement-learning
  15. 15
    microsoft/presidio9,376 · ⑂ 1,147

    An open-source framework for detecting, redacting, masking, and anonymizing sensitive data (PII) across text, images, and structured data. Supports NLP, pattern matching, and customizable pipelines.

    • python
    • pii
    • privacy
    • data-anonymization
    • de-identification
    • data-masking
  16. 16
    intel/ipex-llm8,843 · ⑂ 1,428

    Accelerate local LLM inference and finetuning (LLaMA, Mistral, ChatGLM, Qwen, DeepSeek, Mixtral, Gemma, Phi, MiniCPM, Qwen-VL, MiniCPM-V, etc.) on Intel XPU (e.g., local PC with iGPU and NPU, discrete GPU such as Arc, Flex and Max); seamlessly integrate with llama.cpp, Ollama, HuggingFace, LangChain, LlamaIndex, vLLM, DeepSpeed, Axolotl, etc.

    • pytorch
    • llm
    • transformers
    • gpu
  17. 17
    NVlabs/Sana8,341 · ⑂ 660

    SANA: Efficient High-Resolution Image Synthesis with Linear Diffusion Transformer

    • diffusion
    • dit
    • pytorch
    • sana
    • text-to-image-generation
    • transformers
  18. 18
    EleutherAI/gpt-neo8,275 · ⑂ 958

    An implementation of model parallel GPT-2 and GPT-3-style models using the mesh-tensorflow library.

    • language-model
    • transformers
    • gpt
    • gpt-2
    • gpt-3
  19. 19
    jessevig/bertviz8,089 · ⑂ 882

    BertViz: Visualize Attention in Transformer Models

    • natural-language-processing
    • machine-learning
    • visualization
    • neural-network
    • pytorch
    • nlp
  20. 20
    lucidrains/PaLM-rlhf-pytorch7,862 · ⑂ 675

    Implementation of RLHF (Reinforcement Learning with Human Feedback) on top of the PaLM architecture. Basically ChatGPT but with PaLM

    • artificial-intelligence
    • attention-mechanisms
    • deep-learning
    • reinforcement-learning
    • transformers
    • human-feedback
  21. 21
    MaartenGr/BERTopic7,698 · ⑂ 908

    Leveraging BERT and c-TF-IDF to create easily interpretable topics.

    • bert
    • transformers
    • topic-modeling
    • sentence-embeddings
    • nlp
    • machine-learning
  22. 22
    EleutherAI/gpt-neox7,442 · ⑂ 1,117

    An implementation of model parallel autoregressive transformers on GPUs, based on the Megatron and DeepSpeed libraries

    • deepspeed-library
    • gpt-3
    • transformers
    • language-model
  23. 23
    Blaizzy/mlx-audio7,402 · ⑂ 643

    A text-to-speech (TTS), speech-to-text (STT) and speech-to-speech (STS) library built on Apple's MLX framework, providing efficient speech analysis on Apple Silicon.

    • apple-silicon
    • audio-processing
    • mlx
    • multimodal
    • speech-recognition
    • speech-synthesis
  24. 24
    vladmandic/sdnext7,137 · ⑂ 562

    SD.Next: All-in-one WebUI for AI generative image and video creation, captioning and processing

    • sdnext
    • ai-art
    • caption
    • diffusers
    • generative-art
    • python
  25. 25

    A straightforward method for training your LLM, from downloading data to generating text.

    • gemini
    • large-language-models
    • llm
    • openai
    • training
    • transformers

Find Python engineers shipping Transformers

The list above ranks the most-starred public Python repositories tagged with the Transformers topic, drawn from the public GitHub graph. Across 798 matching repositories, the contributors are a tight cluster of engineers with both Python chops and real Transformers experience.

That overlap is rare. Most Python engineers haven’t shipped Transformers, and most Transformers maintainers don’t write Python. The people on this list’s contributor graph are the ones who do both.

Refolk turns this list into a search. Ask for Python Transformers maintainers hiring” or Python engineers shipping Transformers in 2025” and Refolk returns a ranked shortlist with the commits, profiles, and projects behind each name.

How this list is built

Refolk searched GitHub for public Python repositories tagged with the Transformers topic, ranked them by stargazer count, and kept those with at least 25 stars. The list refreshes once a day.

Last refreshed: Sun, 21 Jun 2026 07:07:01 GMT

Need a more specific search?

Refolk runs natural-language searches across GitHub, LinkedIn, and the open web. Try one of these:

Related lists

See all repository lists.

Or zoom out