OSS Radar

LLMs-from-scratch alternatives

rasbt/LLMs-from-scratch (108k stars, +630 this week): Implement a ChatGPT-like LLM in PyTorch from scratch, step by step.

Below are 12 other LLM tooling repos tracked by OSS Radar that share at least two GitHub topics with LLMs-from-scratch, 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. Learn AI Engineering! Learn it. Build it. Ship it for others.

    76k stars · Python · shared topics: AI, deep learning, from scratch, generative AI, LLM, machine learning, Python, transformers · ai-engineering-from-scratch alternatives

  2. Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for…

    168k stars · Python · shared topics: deep learning, LLM, machine learning, natural language processing, Python, PyTorch · Transformers alternatives

  3. 3. aa1143/NamiGPT

    +132/wk

    Build GPT-2 from scratch in PyTorch, step by step.

    132 stars · Python · shared topics: deep learning, from scratch, large language models, LLM, PyTorch · NamiGPT alternatives

  4. Fine-tune LLMs from one YAML. Layer streaming trains an 8B model on a 4 GB laptop GPU.

    9.8k stars · Python · shared topics: LLM, machine learning, Python, PyTorch, transformers · Soup alternatives

  5. 5. f/prompts.chat

    +856/wk

    f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community.

    175k stars · HTML · shared topics: AI, artificial intelligence, GPT, LLM, machine learning · prompts.chat alternatives

  6. ARIS (Auto-Research-In-Sleep) — Lightweight Markdown-only skills for autonomous ML research: cross-model review loops, idea discovery, and…

    18k stars · Python · shared topics: deep learning, GPT, LLM, machine learning · Auto-claude-code-research-in-sleep alternatives

  7. A high-throughput and memory-efficient inference and serving engine for LLMs.

    96k stars · Python · shared topics: GPT, LLM, PyTorch · vLLM alternatives

  8. AI Agent Assistant & development framework that integrates lots of IM platforms, LLMs, plugins and AI feature, and can be your openclaw…

    45k stars · Python · shared topics: AI, GPT, LLM, Python · AstrBot alternatives

  9. Open Source AI Platform - AI Chat with advanced features that works with every LLM.

    33k stars · Python · shared topics: AI, generative AI, LLM, Python · Onyx alternatives

  10. A Python library for extracting structured information from unstructured text using LLMs with precise source grounding and interactive…

    39k stars · Python · shared topics: large language models, LLM, Python · langextract alternatives

  11. High-performance AI pipeline engine with a C++ core and 50+ Python-extensible nodes.

    19k stars · Python · shared topics: AI, machine learning, Python · rocketride-server alternatives

  12. 12. elder-plinius/L1B3RT4S

    +1.8k/wkest.

    TOTALLY HARMLESS LIBERATION PROMPTS FOR GOOD LIL AI'S! <NEW_PARADIGM> [DISREGARD PREV.

    23k stars · shared topics: AI, artificial intelligence, LLM · L1B3RT4S alternatives

More: all trending LLM tooling repos · trending AI repos · trending generative AI repos · trending GPT repos · trending LLM repos · compare LLMs-from-scratch with the top 2 · alternatives to other trending repos