# 12 open-source alternatives to Transformers

[Transformers](https://ossradar.net/repo/huggingface/transformers) (huggingface/transformers) has 169k stars and gained +221 in the last 7 days. Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models…

Below are other repos tracked by OSS Radar that share GitHub topics about what they do with transformers (platform, language and framework tags don't count), ordered by how closely their topics overlap (rarer shared topics count more), then by stars gained this week. Topic overlap means a similar problem space, not a drop-in replacement, so check each project's README. Data as of 2026-12-01T21:21:04.746Z (UTC), updated hourly. HTML page: https://ossradar.net/alternatives/huggingface/transformers

## Alternatives

| # | Repo | Category | 7 days | Total stars | Shared topics | What it is |
| --- | --- | --- | --- | --- | --- | --- |
| 1 | [LLMs-from-scratch](https://ossradar.net/repo/rasbt/LLMs-from-scratch) (rasbt/LLMs-from-scratch) | LLM tooling | +404 | 109398 | deep learning, LLM, machine learning, natural language processing, Python, PyTorch | Implement a ChatGPT-like LLM in PyTorch from scratch, step by step. |
| 2 | [SGLang](https://ossradar.net/repo/sgl-project/sglang) (sgl-project/sglang) | LLM tooling | +241 | 39266 | DeepSeek, GLM, LLM, Qwen, transformer, vlm | SGLang is a high-performance serving framework for large language models and multimodal models. |
| 3 | [vLLM](https://ossradar.net/repo/vllm-project/vllm) (vllm-project/vllm) | LLM tooling | +481 | 97974 | DeepSeek, LLM, PyTorch, Qwen, transformer | A high-throughput and memory-efficient inference and serving engine for LLMs. |
| 4 | [Unsloth](https://ossradar.net/repo/unslothai/unsloth) (unslothai/unsloth) | LLM tooling | +427 | 80601 | DeepSeek, Gemma, LLM, Python, Qwen | Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more. |
| 5 | [PolyStrata](https://ossradar.net/repo/simplexai-labs/PolyStrata) (simplexai-labs/PolyStrata) | LLM tooling | +336 | 1821 | Gemma, GLM, LLM, Qwen | Run large AI models on your own PC: Qwen3.8-Flash-Next on Strata's engine, and GLM 5.3 Flash, DeepSeek V4 Flash, LFM2.5, Qwen3.6, Ornith… |
| 6 | [llm.asm](https://ossradar.net/repo/alesha-pro/llm.asm) (alesha-pro/llm.asm) | LLM tooling | +4549 | 4549 | LLM, machine learning, Qwen, transformer | Qwen3-0.6B inference (12 KB), bare-metal bootable OS (22 KB), and from-scratch Mini-GPT trainer with live Braille TUI (32 KB) in 100% pure… |
| 7 | [Soup](https://ossradar.net/repo/MakazhanAlpamys/Soup) (MakazhanAlpamys/Soup) | LLM tooling | +231 | 10999 | LLM, machine learning, Python, PyTorch | Fine-tune LLMs from one YAML. Layer streaming trains an 8B model on a 4 GB laptop GPU. |
| 8 | [ai-engineering-from-scratch](https://ossradar.net/repo/rohitg00/ai-engineering-from-scratch) (rohitg00/ai-engineering-from-scratch) | LLM tooling | +1322 | 81358 | deep learning, LLM, machine learning, Python | Learn AI Engineering! Learn it. Build it. Ship it for others. |
| 9 | [Auto-claude-code-research-in-sleep](https://ossradar.net/repo/wanshuiyin/Auto-claude-code-research-in-sleep) (wanshuiyin/Auto-claude-code-research-in-sleep) | LLM tooling | +483 | 20262 | deep learning, LLM, machine learning | ARIS (Auto-Research-In-Sleep) — Lightweight Markdown-only skills for autonomous ML research: cross-model review loops, idea discovery… |
| 10 | [ai-guide](https://ossradar.net/repo/liyupi/ai-guide) (liyupi/ai-guide) | LLM tooling | +214 est. | 22572 | deep learning, DeepSeek, LLM | GPT Gemini Claude RAG MCP Claude Code TRAE Codex. |
| 11 | [magpie](https://ossradar.net/repo/yetone/magpie) (yetone/magpie) | LLM tooling | +3329 | 44326 | DeepSeek, GLM, LLM | Pool every plan you pay for — Claude, ChatGPT, Copilot, GLM Coding Plan, Kimi Code and more — and use them in any agent: Claude Code, Codex… |
| 12 | [project-maya](https://ossradar.net/repo/mw00/project-maya) (mw00/project-maya) | LLM tooling | +277 | 3597 | DeepSeek, GLM, LLM | Run GLM-5.3 (744B), DeepSeek-V4.1-Flash (748B), MiniMax-M3.1-Flash (428B), GLM-5.3-Flash (321B), Hy4-Flash (220B)… |

Gains marked est. are estimates for repos first seen less than a week ago. Each repo also has a Markdown page: append .md to its repo URL.

## More

- Transformers repo page: https://ossradar.net/repo/huggingface/transformers (Markdown: https://ossradar.net/repo/huggingface/transformers.md)
- Alternatives to LLMs-from-scratch: https://ossradar.net/alternatives/rasbt/LLMs-from-scratch.md
- Alternatives to SGLang: https://ossradar.net/alternatives/sgl-project/sglang.md
- Alternatives to vLLM: https://ossradar.net/alternatives/vllm-project/vllm.md
- Alternatives to Unsloth: https://ossradar.net/alternatives/unslothai/unsloth.md
- Alternatives to PolyStrata: https://ossradar.net/alternatives/simplexai-labs/PolyStrata.md
- Alternatives to llm.asm: https://ossradar.net/alternatives/alesha-pro/llm.asm.md
- All trending LLM tooling repos: https://ossradar.net/category/llm-tooling.md
- Alternatives to other trending repos: https://ossradar.net/alternatives
- Live leaderboard: https://ossradar.net/ (also https://ossradar.net/llms.txt and https://ossradar.net/api/v1/trending)

Free to cite with a link back to https://ossradar.net/alternatives/huggingface/transformers.
