Build a ChatGPT like LLM from scratch in PyTorch, explained step by step.
☆385Jun 8, 2026Updated 4 months ago
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:
- Introduction to PyTorch, covering tensor initialization, operations, indexing, and reshaping.☆1,056Jan 6, 2026Updated 9 months ago
- Learn LLM internals step by step - from tokenization to attention to inference optimization.☆1,772Updated this week
- A straightforward method for training your LLM, from downloading data to generating text.☆12,916Oct 2, 2026Updated 3 weeks ago
- Build your own X - Master machine learning by building everything from scratch. It aims to cover everything from linear regression to dee…☆759Jul 4, 2026Updated 3 months ago
- A curated collection of practical AI projects implementing OCR systems, RAG, AI agents, and other AI use cases.☆4,062Updated this week
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- A complete roadmap to master LLMs from absolute beginners to advanced☆529Sep 10, 2026Updated last month
- ☆9,994Jun 5, 2026Updated 4 months ago
- All Stanford Cheatsheets: Artificial Intelligence, Transformers, LLMs, Deep Learning, Machine Learning, Probabilities, Statistics, Algebr…☆1,010Jan 6, 2026Updated 9 months ago
- GPU Engineering for AI Systems☆606May 17, 2026Updated 5 months ago
- ☆1,916Nov 3, 2025Updated 11 months ago
- Official code repo for the O'Reilly Book - "Hands-On Large Language Models"☆29,954Apr 24, 2026Updated 6 months ago
- A 10-week, 30-minutes-a-day roadmap for LLM inference serving and optimization. vLLM, SGLang, quantization, speculative decoding, benchma…☆1,011Aug 14, 2026Updated 2 months ago
- This repository is for all those AI enthusiastics who actually loves to read books and learn.☆544Jan 16, 2026Updated 9 months ago
- AI system design guide for engineers building production AI systems and evals.☆4,098Oct 8, 2026Updated 3 weeks ago
- Deploy on Railway without the complexity - Free Credits Offer • AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- Become skilled in Artificial Intelligence, Machine Learning, Generative AI, Deep Learning, Data Science, Natural Language Processing, Rei…☆4,281Aug 12, 2026Updated 2 months ago
- AI Infrastructure Engineer Learning Track - Production ML infrastructure curriculum (2-4 years experience)☆1,836Jun 26, 2026Updated 4 months ago
- 🚀 The Complete AI Roadmap (2026) | Free YouTube Courses, Machine Learning, Deep Learning, LLMs, GenAI, RAG, Agents, Projects, Deployment…☆70Sep 11, 2026Updated last month
- ☆19Jul 10, 2026Updated 3 months ago
- Tokens → Transformers → Model Selection → Providers → Prompt Engineering → Structured Outputs → Embeddings → Vector Search → RAG → Advanc…☆18Sep 9, 2026Updated last month
- A group of notebooks and other files which can help you learn AI from scratch.☆1,464Oct 3, 2026Updated 3 weeks ago
- This repository contains a curated collection of 300+ case studies from over 80 companies, detailing practical applications and insights …☆11,074Aug 5, 2025Updated last year
- Notes of the book System Desgin Interview - An Insider's Guide☆27,213Aug 12, 2026Updated 2 months ago
- This a repo to learn langchain from basics to advance.☆44Sep 16, 2026Updated last month
- Managed Kubernetes at scale on DigitalOcean • AdDigitalOcean Kubernetes includes the control plane, bandwidth allowance, container registry, automatic updates, and more for free.
- Build a modern LLM from scratch. Every line commented. Explained like we are five.☆4,154Updated this week
- Build AI agents from first principles using a local LLM - no frameworks, no cloud APIs, no hidden reasoning.☆1,064Jul 25, 2026Updated 3 months ago
- Ultimate AI Engineer Roadmap 2026 - built specifically for your context as an AI Architect building PrinceSinghAI, PrinceSinghDev, Multi-…☆907Aug 1, 2026Updated 2 months ago
- Python library for Agentic Document Extraction (ADE).☆1,038Oct 2, 2026Updated 3 weeks ago
- One command to resume any AI coding session. Codex • Claude • Copilot • Gemini • OpenCode☆10Feb 21, 2026Updated 8 months ago
- Examples, end-2-end tutorials and apps built using Liquid AI Foundational Models (LFM) and the LEAP SDK☆2,673Updated this week
- Demystify AI agents by building them yourself. Local LLMs, no black boxes, real understanding of function calling, memory, and ReAct patt…☆4,884Jul 24, 2026Updated 3 months ago
- Become a cracked AI/ML researcher/engineer with this unconventional textbook covering maths, computing, and ML with intuition.☆7,678Jul 18, 2026Updated 3 months ago
- Machine Learning Systems: Foundations, Scaling, Agentic AI, and Physical AI (Vols I–IV) • Harvard CS249r | https://mlsysbook.ai☆29,728Updated this week
- Managed Kubernetes at scale on DigitalOcean • AdDigitalOcean Kubernetes includes the control plane, bandwidth allowance, container registry, automatic updates, and more for free.
- Learn AI and LLMs from scratch using free resources☆6,157Feb 5, 2026Updated 8 months ago
- ☆15Dec 7, 2025Updated 10 months ago
- Learn how a GPU works, then write CUDA code. Plain-English lessons with interactive diagrams.☆112Oct 2, 2026Updated 3 weeks ago
- This Repository Contain All the Artificial Intelligence Projects such as Machine Learning, Deep Learning and Generative AI that I have do…☆7,056Aug 26, 2026Updated 2 months ago
- Learn to build your Second Brain AI assistant with LLMs, agents, RAG, fine-tuning, LLMOps and AI systems techniques.☆3,131Apr 6, 2026Updated 6 months ago
- ML algorithms implemented and derived from first-principles in Jupyter Notebooks and NumPy☆2,092Aug 19, 2026Updated 2 months ago
- This is the official repository for the book Transformers - The Definitive Guide☆475Aug 5, 2026Updated 2 months ago