Implement a ChatGPT-like LLM in PyTorch from scratch, step by step
- gpt
- large-language-models
- llm
- python
65,264 visible repositories in the index
1–24 of 28 · Most stars
Implement a ChatGPT-like LLM in PyTorch from scratch, step by step
Translated📚 "Building Agents from Scratch" — A tutorial on agent principles and practice, starting from zero
TranslatedMain open-source repository of "Understanding AI Agents in Depth: Design Principles and Engineering Practice" (by Li Bojie): the full text of the book, the compiled PDF, and companion code organized by chapter
Official code repo for the O'Reilly Book - "Hands-On Large Language Models"
Machine Learning Engineering Open Book
Kalman Filter book using Jupyter Notebook. Focuses on building intuition and experience, not formal proofs. Includes Kalman filters,extended Kalman filters, unscented Kalman filters, particle filters, and more. All exercises include solutions.
A book for Learning the Foundations of LLMs
Approaching (Almost) Any Machine Learning Problem
TranslatedE-book "Large Models and Agents" (《大模型与智能体》) with 6 programming tasks: Transformer, mini-GPT, SFT/DPO, RAG, tool calling, and coding agents.
Implement a reasoning LLM in PyTorch from scratch, step by step
The LLM's practical guide: From the fundamentals to deploying advanced LLM and RAG apps to AWS using LLMOps best practices
TranslatedHermes Agent from Beginner to Expert · Orange Book Series · A Practical Guide to Nous Research's Open-Source AI Agent Framework
🚀 An open-source, hands-on curriculum bridging the gap from basic RL concepts to LLM alignment, RLVR, and advanced Agentic systems.
Translated"PyTorch Practical Tutorial" (Second Edition): whether you are starting from zero, working on CV, NLP, or LLM project applications, or moving on to advanced engineering deployment, it's all here. We believe that with the help of this book, readers will be able to master the use of PyTorch with ease and become an excellent deep learning engineer.
Translated"Large Language Models" (《大语言模型》), authors: Zhao Xin, Li Junyi, Zhou Kun, Tang Tianyi, Wen Jirong
This project reproduces the book Dive Into Deep Learning (https://d2l.ai/), adapting the code from MXNet into PyTorch.
Translated《御舆:解码 Agent Harness》(Yuyu, "Imperial Carriage: Decoding the Agent Harness"): 420,000 characters dissecting the Harness skeleton and nervous system of AI Agents — an in-depth analysis of the Claude Code architecture, 15 chapters from the conversation loop to building your own Agent Harness. Online reading website:
Build a modern LLM from scratch. Every line commented. Explained like we are five.
This is a Phi Family of SLMs book for getting started with Phi Models. Phi a family of open sourced AI models developed by Microsoft. Phi models are the most capable and cost-effective small language models (SLMs) available, outperforming models of the same size and next size up across a variety of language, reasoning, coding, and math benchmarks
A practical, open-source guide to mastering WorkBuddy through real-world workflows.开源的 WorkBuddy 实战蓝皮书:教程、真实工作流、Skills、MCP、自动化与多智能体实践。
Harness engineering in two books: constraints, query loops, context governance and multi-agent verification in Claude Code and Codex. harness-books.agentway.dev
LLMs-from-scratch项目中文翻译
HuggingLLM, Hugging Future.
中文翻译的 Hands-On-Large-Language-Models (hands-on-llms),动手学习大模型