Implement a ChatGPT-like LLM in PyTorch from scratch, step by step
- gpt
- large-language-models
- llm
- python
87,075 visible repositories in the index
1–24 of 47 · Most stars
Implement a ChatGPT-like LLM in PyTorch from scratch, step by step
aka "Bayesian Methods for Hackers": An introduction to Bayesian methods + probabilistic programming with a computation/understanding-first, mathematics-second point of view. All in pure Python ;)
⛔️ DEPRECATED – See https://github.com/ageron/handson-ml3 or handson-mlp instead.
Code for Machine Learning for Trading, 3rd edition — from data sourcing to live execution.
TranslatedThe pytorch handbook is an open-source book that aims to help friends who want to use PyTorch for deep learning development and research get started quickly. All of the PyTorch tutorials it contains have been tested to ensure they run successfully.
TranslatedThis project changes the MXNet implementations in the original book 《动手学深度学习》 (Dive into Deep Learning) into PyTorch implementations.
One has no future if one couldn't teach themself.
[WIP] Resources for AI engineers. Also contains supporting materials for the book AI Engineering (Chip Huyen, 2025)
TranslatedOpen source Deep Learning book, based on TensorFlow 2.0 framework.
PyTorch tutorials and fun projects including neural talk, neural style, poem writing, anime generation (《深度学习框架PyTorch:入门与实战》)
The "Python Machine Learning (1st edition)" book code repository and info resource
Free online textbook of Jupyter notebooks for fast.ai Computational Linear Algebra course
The "Python Machine Learning (2nd edition)" book code repository and info resource
Python code for "Probabilistic Machine learning" book by Kevin Murphy
Code for Tensorflow Machine Learning Cookbook
T81-558: Keras - Applications of Deep Neural Networks @Washington University in St. Louis
"Probabilistic Machine Learning" - a book series by Kevin Murphy
Code Repository for Machine Learning with PyTorch and Scikit-Learn
Code for the book Deep Learning with PyTorch by Eli Stevens, Luca Antiga, and Thomas Viehmann.
🚀 An open-source, hands-on curriculum bridging the gap from basic RL concepts to LLM alignment, RLVR, and advanced Agentic systems.
Jupyter notebooks for the Natural Language Processing with Transformers book
Accompanying source code for Machine Learning with TensorFlow. Refer to the book for step-by-step explanations.
Build a modern LLM from scratch. Every line commented. Explained like we are five.
The Jupyter Notebooks behind my OReilly report, "A Whirlwind Tour of Python"