SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 Python Transformer Projects
-
transformers
🤗 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.
Project mention: Firefox Download Failed at 99%? How to Resume It Instead of Starting Over | dev.to | 2026-10-13For Hugging Face, neither curl nor aria2 can fix an expired signature halfway through, because the signed URL they hold just stops working. Use hf download from huggingface_hub, which can request fresh signed URLs when the old ones die. It has its own problems, though. A transformers issue shows a download that hit repeated 403s on signed URLs, refreshed them, and then hung without an error. Setting HF_HUB_DISABLE_XET=1 avoided it. That particular bug was on HF's side and was fixed before the issue was closed, but the Neutree FAQ recommends the same thing for unstable networks, noting the HTTP path is slower but more reliable.
-
AppSignal
Monitoring that respects your time & budget. APM, error tracking, and dashboards for modern web apps. Ten-minute setup, transparent flat pricing, and support from engineers who actually use the product.
-
The production inference layer is powered by vLLM, an open-source, Apache 2.0 licensed serving engine featuring continuous batching, PagedAttention memory management, and an OpenAI-compatible API structure supporting hundreds of model architectures.
-
nn
🧑🏫 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, ... 🧠
-
sglang
SGLang is a high-performance serving framework for large language models and multimodal models.
Project mention: SGLang – High-performance serving framework for LLM's and multimodal models | news.ycombinator.com | 2026-10-15 -
Project mention: Heretic removes restrictions from language models | news.ycombinator.com | 2026-09-20
-
git clone https://github.com/fishaudio/fish-speech.git cd fish-speech pip install uv uv sync
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
Project mention: PostCall: a proposal writer that never sends your client calls anywhere (Whisper + Gemma 4, all local) | dev.to | 2026-10-14
{ "url": "https://github.com/SYSTRAN/faster-whisper", "prompt": "Extract: (1) install instructions and whether GPU/Metal is supported on macOS Apple Silicon (CPU only?), any note on Apple Silicon; (2) usage example for WhisperModel (device, compute_type options for CPU such as int8), how to pass beam_size, language auto-detection, word_timestamps, vad_filter; (3) the list of available model sizes including large-v3-turbo / turbo and where models are downloaded from (Hugging Face) and cache dir (download_root); (4) whether system ffmpeg is required (PyAV)." }
-
-
-
nano-vLLM implements an LLM serving engine in roughly 1,200 lines of Python. Its compact codebase makes the core serving concepts clear and easy to follow, making it a useful starting point for learning how an inference engine works.
-
RWKV-LM
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.
Project mention: RWKV-7 beats Llama 3.2 with 3x fewer training tokens and formally exceeds TC^0 | news.ycombinator.com | 2026-02-23 -
-
PaddleSpeech
Easy-to-use Speech Toolkit including Self-Supervised Learning model, SOTA/Streaming ASR with punctuation, Streaming TTS with text frontend, Speaker Verification System, End-to-End Speech Translation and Keyword Spotting. Won NAACL2022 Best Demo Award.
-
petals
🌸 Run LLMs at home, BitTorrent-style. Fine-tuning and inference up to 10x faster than offloading
Project mention: Run large language models at home, BitTorrent‑style | news.ycombinator.com | 2026-07-22Hm, looks like this is an old project (2022) associated with HuggingFace (https://huggingface.co/bigscience).
Doesn't look like it's very active nowadays: https://github.com/bigscience-workshop/petals
Article with more details: https://techcrunch.com/2022/12/20/petals-is-creating-a-free-...
> [...] volunteers can donate their hardware power to tackle a portion of a text-generating workload and team up others to complete larger tasks, similar to Folding@home and other distributed compute setups.
-
manga-image-translator
Translate manga/image 一键翻译各类图片内文字 https://cotrans.touhou.ai/ (no longer working)
-
-
PaddleSeg
Easy-to-use image segmentation library with awesome pre-trained model zoo, supporting wide-range of practical tasks in Semantic Segmentation, Interactive Segmentation, Panoptic Segmentation, Image Matting, 3D Segmentation, etc.
-
LMFlow
An Extensible Toolkit for Finetuning and Inference of Large Foundation Models. Large Models for All.
-
-
-
Project mention: VoxCPM2 vs ElevenLabs: Self-Hosted AI Voice That Clones, Designs and Speaks 30 Languages (2026) | dev.to | 2026-09-21
Yes, if you have a GPU box, because the serving story is now boring in the good way. The official-recommended production path is vLLM-Omni: vllm serve openbmb/VoxCPM2 --omni exposes an OpenAI-compatible /v1/audio/speech endpoint with batching and KV-cache management, per the PyPI documentation. That page also reports a real-time factor around 0.13 on an RTX 4090 via the Nano-vLLM-VoxCPM backend, versus roughly 0.3 for the plain PyTorch path - meaning generation runs several times faster than playback.
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Python Transformer discussion
Python Transformer related posts
-
AI acceptable use policy for employees: what works
-
PostCall: a proposal writer that never sends your client calls anywhere (Whisper + Gemma 4, all local)
-
Firefox Download Failed at 99%? How to Resume It Instead of Starting Over
-
vLLM's --api-key leaves /invocations, /tokenize and /pause open. Lock it down with an allowlist proxy
-
Learning Dad's Garden: From 4 Minutes of Phone Video to a Printed Watering Sheet, Offline
-
How vLLM CUDA Kernels Write and Read the Paged KV Cache
-
Running vLLM natively on Windows
-
A note from our sponsor - SaaSHub
www.saashub.com | 16 Oct 2026
Index
What are some of the best open-source Transformer projects in Python? This list will help you:
| # | Project | Stars |
|---|---|---|
| 1 | transformers | 167,499 |
| 2 | vllm | 93,864 |
| 3 | nn | 67,548 |
| 4 | sglang | 37,209 |
| 5 | heretic | 35,377 |
| 6 | fish-speech | 33,183 |
| 7 | mmdetection | 32,881 |
| 8 | faster-whisper | 25,902 |
| 9 | best-of-ml-python | 23,846 |
| 10 | LaTeX-OCR | 16,503 |
| 11 | nano-vllm | 15,858 |
| 12 | RWKV-LM | 14,745 |
| 13 | lm-evaluation-harness | 14,242 |
| 14 | PaddleSpeech | 12,694 |
| 15 | petals | 10,535 |
| 16 | manga-image-translator | 10,496 |
| 17 | mmsegmentation | 9,908 |
| 18 | PaddleSeg | 9,402 |
| 19 | LMFlow | 8,482 |
| 20 | bertviz | 8,198 |
| 21 | GPT2-Chinese | 7,601 |
| 22 | vllm-omni | 7,208 |
| 23 | BERT-pytorch | 6,527 |