Implement a ChatGPT-like LLM in PyTorch from scratch, step by step
☆93,949May 11, 2026Updated this week
Alternatives and similar repositories for LLMs-from-scratch
Users that are interested in LLMs-from-scratch are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Course to get into Large Language Models (LLMs) with roadmaps and Colab notebooks.☆79,331Feb 5, 2026Updated 3 months ago
- Unsloth Studio is a web UI for training and running open models like Gemma 4, Qwen3.6, DeepSeek, gpt-oss locally.☆63,952May 9, 2026Updated last week
- LLM101n: Let's build a Storyteller☆36,910Aug 1, 2024Updated last year
- Unified Efficient Fine-Tuning of 100+ LLMs & VLMs (ACL 2024)☆71,225Updated this week
- 仅需Python基础,从0构建大语言模型;从0逐步构建GLM4\Llama3\RWKV6, 深入理解大模型原理☆4,136Mar 26, 2026Updated last month
- End-to-end encrypted email - Proton Mail • AdSpecial offer: 40% Off Yearly / 80% Off First Month. All Proton services are open source and independently audited for security.
- A high-throughput and memory-efficient inference and serving engine for LLMs☆79,733Updated this week
- llama3 implementation one matrix multiplication at a time☆15,244May 23, 2024Updated last year
- 21 Lessons, Get Started Building with Generative AI☆110,630May 8, 2026Updated last week
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆57,846Nov 12, 2025Updated 6 months ago
- Official code repo for the O'Reilly Book - "Hands-On Large Language Models"☆26,171Apr 24, 2026Updated 3 weeks ago
- Get up and running with Kimi-K2.5, GLM-5, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.☆171,348Updated this week
- 20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.☆13,364May 1, 2026Updated 2 weeks ago
- The agent engineering platform.☆136,798Updated this week
- LLM training in simple, raw C/CUDA☆29,912Jun 26, 2025Updated 10 months ago
- Simple, predictable pricing with DigitalOcean hosting • AdAlways know what you'll pay with monthly caps and flat pricing. Enterprise-grade infrastructure trusted by 600k+ customers.
- 🙌 OpenHands: AI-Driven Development☆73,120May 10, 2026Updated last week
- 100+ AI Agent & RAG apps you can actually run — clone, customize, ship.☆110,222May 9, 2026Updated last week
- LLM inference in C/C++☆110,506Updated this week
- 🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal model…☆160,559Updated this week
- Production-ready platform for agentic workflow development.☆141,464Updated this week
- 🐙 Guides, papers, lessons, notebooks and resources for prompt engineering, context engineering, RAG, and AI Agents.☆74,519Mar 11, 2026Updated 2 months ago
- Universal memory layer for AI Agents☆55,385May 9, 2026Updated last week
- A programming framework for agentic AI☆58,015Apr 15, 2026Updated last month
- Build, run, and manage agent platforms.☆40,135Updated this week
- Proton VPN Special Offer - Get 70% off • AdSpecial partner offer. Trusted by over 100 million users worldwide. Tested, Approved and Recommended by Experts.
- Machine Learning Engineering Open Book☆17,908Mar 16, 2026Updated 2 months ago
- A modular graph-based Retrieval-Augmented Generation (RAG) system☆33,016Updated this week
- DSPy: The framework for programming—not prompting—language models☆34,327May 7, 2026Updated last week
- RAGFlow is a leading open-source Retrieval-Augmented Generation (RAG) engine that fuses cutting-edge RAG with Agent capabilities to creat…☆80,527Updated this week
- LlamaIndex is the leading document agent and OCR platform☆49,354Updated this week
- 🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming☆68,004Jan 21, 2026Updated 3 months ago
- Awesome-LLM: a curated list of Large Language Model☆26,793Jul 31, 2025Updated 9 months ago
- An LLM-powered knowledge curation system that researches a topic and generates a full-length report with citations.☆28,221Sep 30, 2025Updated 7 months ago
- Welcome to the Llama Cookbook! This is your go to guide for Building with Llama: Getting started with Inference, Fine-Tuning, RAG. We als…☆18,331Updated this week
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting for WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Deploy in minutes on Cloudways by DigitalOcean.
- 🧠「大模型」2小时完全从0训练64M的小参数LLM!Train a 64M-parameter LLM from scratch in just 2h!☆50,007Updated this week
- 🌐 Make websites accessible for AI agents. Automate tasks online with ease.☆93,528Updated this week
- Master programming by recreating your favorite technologies from scratch.☆501,724Feb 21, 2026Updated 2 months ago
- DeepSpeed is a deep learning optimization library that makes distributed training and inference easy, efficient, and effective.☆42,337Updated this week
- User-friendly AI Interface (Supports Ollama, OpenAI API, ...)☆137,407Updated this week
- 🧑🏫 60+ Implementations/tutorials of deep learning papers with side-by-side notes 📝; including transformers (original, xl, switch, fee…☆66,698Jan 22, 2026Updated 3 months ago
- A natural language interface for computers☆63,504May 4, 2026Updated last week