1.rasbt / LLMs-from-scratch
Implement a ChatGPT-like LLM in PyTorch from scratch, step by step
- gpt
- large-language-models
- llm
- python
- pytorch
- ai
- +13 more
Ranked by Attention Score: stars gained over the last 30 complete days
27 repositories by Attention Score · Oct 6, 2026 – Nov 4, 2026 (UTC)
Implement a ChatGPT-like LLM in PyTorch from scratch, step by step
One has no future if one couldn't teach themself.
Official code repo for the O'Reilly Book - "Hands-On Large Language Models"
Code for Machine Learning for Trading, 3rd edition — from data sourcing to live execution.
[WIP] Resources for AI engineers. Also contains supporting materials for the book AI Engineering (Chip Huyen, 2025)
Python Data Science Handbook: full text in Jupyter Notebooks
A series of Jupyter notebooks that walk you through the fundamentals of Machine Learning and Deep Learning in Python using Scikit-Learn, Keras and TensorFlow 2.
Companion webpage to the book "Mathematics For Machine Learning"
The fastai book, published as Jupyter Notebooks
Materials and IPython notebooks for "Python for Data Analysis" by Wes McKinney, published by O'Reilly Media
Translated"Lee Hung-yi's Deep Learning Tutorial" (recommended by Professor Hung-yi Lee 👍, the Apple Book 🍎), PDF download address: https://github.com/datawhalechina/leedl-tutorial/releases
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.
Jupyter notebooks for the code samples of the book "Deep Learning with Python"
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 ;)
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.
Free online textbook of Jupyter notebooks for fast.ai Computational Linear Algebra course
⛔️ DEPRECATED – See https://github.com/ageron/handson-ml3 or handson-mlp instead.
⛔️ DEPRECATED – See https://github.com/ageron/handson-ml3 or handson-mlp instead.
The "Python Machine Learning (1st edition)" book code repository and info resource
TranslatedCode implementation of 《统计学习方法》 (Statistical Learning Methods)
PyTorch tutorials and fun projects including neural talk, neural style, poem writing, anime generation (《深度学习框架PyTorch:入门与实战》)
《Python Cookbook》 3rd Edition Translation
PRML algorithms implemented in Python
Tutorials, datasets, and other material associated with textbook "A First Course in Network Science" by Menczer, Fortunato & Davis
Accompanying source code for Machine Learning with TensorFlow. Refer to the book for step-by-step explanations.
Mostly experiments based on "Advances in financial machine learning" book