Transformers alternatives
huggingface/transformers (169k stars, +221 this week): Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models…
Below are 12 other LLM tooling repos tracked by OSS Radar that share at least two 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 in the last 7 days. Topic overlap means a similar problem space, not a drop-in replacement, so check each project's README.
1. LLMs-from-scratchrasbt/LLMs-from-scratch
+404/wkImplement a ChatGPT-like LLM in PyTorch from scratch, step by step.
109k stars · Jupyter Notebook · shared topics: deep learning, LLM, machine learning, natural language processing, Python, PyTorch · LLMs-from-scratch alternatives
2. SGLangsgl-project/sglang
+241/wkSGLang is a high-performance serving framework for large language models and multimodal models.
39k stars · Python · shared topics: DeepSeek, GLM, LLM, Qwen, transformer, vlm · SGLang alternatives
3. vLLMvllm-project/vllm
+481/wkA high-throughput and memory-efficient inference and serving engine for LLMs.
98k stars · Python · shared topics: DeepSeek, LLM, PyTorch, Qwen, transformer · vLLM alternatives
4. Unslothunslothai/unsloth
+427/wkLocal UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.
81k stars · Python · shared topics: DeepSeek, Gemma, LLM, Python, Qwen · Unsloth alternatives
5. PolyStratasimplexai-labs/PolyStrata
+336/wkRun 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…
1.8k stars · C++ · shared topics: Gemma, GLM, LLM, Qwen · PolyStrata alternatives
6. llm.asmalesha-pro/llm.asm
+4.5k/wkQwen3-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…
4.5k stars · Assembly · shared topics: LLM, machine learning, Qwen, transformer · llm.asm alternatives
7. SoupMakazhanAlpamys/Soup
+231/wkFine-tune LLMs from one YAML. Layer streaming trains an 8B model on a 4 GB laptop GPU.
11k stars · Python · shared topics: LLM, machine learning, Python, PyTorch · Soup alternatives
8. ai-engineering-from-scratchrohitg00/ai-engineering-from-scratch
+1.3k/wkLearn AI Engineering! Learn it. Build it. Ship it for others.
81k stars · Python · shared topics: deep learning, LLM, machine learning, Python · ai-engineering-from-scratch alternatives
9. Auto-claude-code-research-in-sleepwanshuiyin/Auto-claude-code-research-in-sleep
+483/wkARIS (Auto-Research-In-Sleep) — Lightweight Markdown-only skills for autonomous ML research: cross-model review loops, idea discovery…
20k stars · Python · shared topics: deep learning, LLM, machine learning · Auto-claude-code-research-in-sleep alternatives
10. ai-guideliyupi/ai-guide
+214/wkest.GPT Gemini Claude RAG MCP Claude Code TRAE Codex.
23k stars · JavaScript · shared topics: deep learning, DeepSeek, LLM · ai-guide alternatives
11. magpieyetone/magpie
+3.3k/wkPool every plan you pay for — Claude, ChatGPT, Copilot, GLM Coding Plan, Kimi Code and more — and use them in any agent: Claude Code, Codex…
44k stars · Go · shared topics: DeepSeek, GLM, LLM · magpie alternatives
12. project-mayamw00/project-maya
+277/wkRun GLM-5.3 (744B), DeepSeek-V4.1-Flash (748B), MiniMax-M3.1-Flash (428B), GLM-5.3-Flash (321B), Hy4-Flash (220B)…
3.6k stars · Cuda · shared topics: DeepSeek, GLM, LLM · project-maya alternatives
More: all trending LLM tooling repos · trending DeepSeek repos · trending LLM repos · trending Qwen repos · compare transformers with the top 2 · alternatives to other trending repos