#6060th of 88 in Learning and cookbooks

papers-in-100-lines-of-code

Short single-file implementations of 69 machine learning papers

Stars
2.9k
License
MIT
Last commit
Oct 2026
Language
Python
Stars, last 29 weeks+201
21 Apr 2026: 2,711 stars28 Apr 2026: 2,729 stars5 May 2026: 2,744 stars12 May 2026: 2,757 stars19 May 2026: 2,762 stars26 May 2026: 2,770 stars2 Jun 2026: 2,774 stars9 Jun 2026: 2,783 stars16 Jun 2026: 2,792 stars23 Jun 2026: 2,796 stars30 Jun 2026: 2,804 stars7 Jul 2026: 2,811 stars14 Jul 2026: 2,818 stars21 Jul 2026: 2,822 stars28 Jul 2026: 2,830 stars4 Aug 2026: 2,837 stars11 Aug 2026: 2,842 stars18 Aug 2026: 2,848 stars25 Aug 2026: 2,854 stars1 Sept 2026: 2,863 stars8 Sept 2026: 2,872 stars15 Sept 2026: 2,879 stars22 Sept 2026: 2,883 stars29 Sept 2026: 2,890 stars6 Oct 2026: 2,894 stars13 Oct 2026: 2,901 stars20 Oct 2026: 2,904 stars27 Oct 2026: 2,907 stars3 Nov 2026: 2,911 stars10 Nov 2026: 2,912 stars

2,711 on 21 Apr 20262,912 on 10 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

A collection of Python implementations of well-known ML papers, each written in about 100 lines of code. It covers GANs, diffusion models, normalizing flows, deep RL, meta-learning, NeRF variants and 3D Gaussian Splatting, from Maxout Networks (2013) to a 2025 paper. Each entry links to the paper and lists its authors and date.

Who it is for: ML students and engineers learning papers by reading compact code

Strengths

  • Covers 69 papers, from GANs and diffusion to NeRF and Gaussian Splatting
  • Each implementation is kept to about 100 lines, so it is quick to read
  • Every entry links to its source paper with authors and date
  • MIT licensed, with recent additions up to a December 2025 paper

Weaknesses

  • README lists no install steps, dependencies or run instructions
  • Condensed code omits full-scale training setups and pretrained weights
  • No tests, releases or reproduced benchmark numbers are mentioned
  • Reads as a paper index; there is no explanatory text per implementation

Quick answers

Is papers-in-100-lines-of-code open source?

Yes. Its code is on GitHub under the MIT license.

Also in Learning and cookbooks

See all 88
Also in Learning and cookbooks
RankProjectScore
1ai-engineering-from-scratchHands-on AI engineering curriculum with 542 lessons across 20 phases78.5k stars+10,997 (+16%) in 30 daysMIT91 out of 100
2generative-ai-for-beginners21-lesson course on building generative AI apps in Python and TypeScript123.4k stars+2,347 (+1.9%) in 30 daysMIT83 out of 100
3rag_techniquesCollection of 42 runnable notebooks implementing RAG techniques30.3k stars+563 (+1.9%) in 30 dayscustom license81 out of 100
#4cs249r_bookOpen textbook and course materials for machine learning systems engineering30.1k stars+1,266 (+4.4%) in 30 dayscustom license81 out of 100
#5ai-for-beginners24-lesson AI curriculum with notebooks in PyTorch and TensorFlow Live demo ↗ (opens in a new tab)70.7k stars+1,156 (+1.7%) in 30 daysMIT80 out of 100