Implement a ChatGPT-like LLM in PyTorch from scratch, step by step
- gpt
- large-language-models
- llm
- python
105,102 visible repositories in the index
1–24 of 80 · Most stars
Implement a ChatGPT-like LLM in PyTorch from scratch, step by step
Interactive deep learning book with multi-framework code, math, and discussions. Adopted at 500 universities from 70 countries including Stanford, MIT, Harvard, and Cambridge.
Code for Machine Learning for Trading, 3rd edition — from data sourcing to live execution.
Bootstrap yourself to write an OS from scratch. A book for self-learner.
Code repository of all OpenGL chapters from the book and its accompanying website https://learnopengl.com
code for Data Science From Scratch book
Python implementation of algorithms from Russell And Norvig's "Artificial Intelligence - A Modern Approach"
Example programs from "The Go Programming Language"
Introduce technologies on blockchain and distributed ledger, from theory to practice with bitcoin, ethereum and hyperledger.
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
TranslatedMicroservices from Design to Deployment, Chinese version: 《微服务:从设计到部署》 (Microservices: From Design to Deployment)
Source code for pbrt, the renderer described in the third edition of "Physically Based Rendering: From Theory To Implementation", by Matt Pharr, Wenzel Jakob, and Greg Humphreys.
🚀 An open-source, hands-on curriculum bridging the gap from basic RL concepts to LLM alignment, RLVR, and advanced Agentic systems.
Translated"Deep Learning from Scratch" (O'Reilly Japan, 2016)
It is my belief that you, the postgraduate students and job-seekers for whom the book is primarily meant will benefit from reading it; however, it is my hope that even the most experienced researchers will find it fascinating as well.
Code samples from the book Web Scraping with Python http://shop.oreilly.com/product/0636920034391.do
Code from various chapters in OSTEP (http://www.ostep.org)
This project reproduces the book Dive Into Deep Learning (https://d2l.ai/), adapting the code from MXNet into PyTorch.
A collection of classic computer science books from Internet
《Build a Large Language Model (From Scratch)》是一本深入探讨大语言模型原理与实现的电子书,适合希望深入了解 GPT 等大模型架构、训练过程及应用开发的学习者。为了让更多中文读者能够接触到这本极具价值的教材,我决定将其翻译成中文,并通过 GitHub 进行开源共享。
Build a modern LLM from scratch. Every line commented. Explained like we are five.
Code samples from the "Python Cookbook, 3rd Edition", published by O'Reilly & Associates, May, 2013.
The source code from the third edition of Effective Java, with minor additions as necessary to make it runnable.