Implement a ChatGPT-like LLM in PyTorch from scratch, step by step
- gpt
- large-language-models
- llm
- python
81,588 visible repositories in the index
1–24 of 64 · Most stars
Implement a ChatGPT-like LLM in PyTorch from scratch, step by step
Python Data Science Handbook: full text in Jupyter Notebooks
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.
The fastai book, published as Jupyter Notebooks
Code for Machine Learning for Trading, 3rd edition — from data sourcing to live execution.
TranslatedCode implementation of 《统计学习方法》 (Statistical Learning Methods)
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.
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
PRML algorithms implemented in Python
Free online textbook of Jupyter notebooks for fast.ai Computational Linear Algebra course
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!
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
Implement a reasoning LLM in PyTorch from scratch, step by step