Implement a ChatGPT-like LLM in PyTorch from scratch, step by step
- gpt
- large-language-models
- llm
- python
132,241 visible repositories in the index
1–24 of 101 · Most stars
Implement a ChatGPT-like LLM in PyTorch from scratch, step by step
Official code repo for the O'Reilly Book - "Hands-On Large Language Models"
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.
Materials and IPython notebooks for "Python for Data Analysis" by Wes McKinney, published by O'Reilly Media
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.
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.
[WIP] Resources for AI engineers. Also contains supporting materials for the book AI Engineering (Chip Huyen, 2025)
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
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.
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
PRML algorithms implemented in Python
Free online textbook of Jupyter notebooks for fast.ai Computational Linear Algebra course
TranslatedBook_4_"The Power of Matrices" | Iris Book: From Addition, Subtraction, Multiplication and Division to Machine Learning; now on sale!
Python implementation of algorithms from Russell And Norvig's "Artificial Intelligence - A Modern Approach"
TranslatedBook_3_"Elements of Mathematics" | Iris Book series: from addition, subtraction, multiplication and division to machine learning; now on sale; corrections are still welcome, and readers who submit many corrections will also receive free books!
TranslatedBook_1_《Programming Is Not Hard》 | Iris Book: From Addition, Subtraction, Multiplication and Division to Machine Learning; please give us plenty of criticism and corrections!
Code for Tensorflow Machine Learning Cookbook
Implement a reasoning LLM in PyTorch from scratch, step by step
T81-558: Keras - Applications of Deep Neural Networks @Washington University in St. Louis
Code Repository for Machine Learning with PyTorch and Scikit-Learn