Implement a ChatGPT-like LLM in PyTorch from scratch, step by step
- gpt
- large-language-models
- llm
- python
103,113 visible repositories in the index
1–24 of 104 · 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"
⛔️ DEPRECATED – See https://github.com/ageron/handson-ml3 or handson-mlp instead.
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
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.
Jupyter notebooks for the code samples of the book "Deep Learning with Python"
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.
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)
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
Companion webpage to the book "Mathematics For Machine Learning"
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
《Python Cookbook》 3rd Edition Translation
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!