Sixty ML landmarks, each compressed to 100 lines
Because the core idea of a paper rarely needs five thousand lines of PyTorch.

What it does This repository collects minimal PyTorch reimplementations of influential machine-learning papers, each squeezed into roughly one hundred lines of Python. It covers a decade of research—from early GANs and DQN to modern NeRF variants and latent diffusion—stripping away boilerplate until only the essential algorithm remains.
The interesting bit
The constraint is the feature. By forcing every paper into the same tight footprint, the project turns into a comparative anatomy lab: you can hop from an optimizer like Adam to a generative model like Stable Diffusion and immediately see how the moving parts scale (or don’t). It is less a software library and more a curated gallery of algorithmic skeletons.
Key highlights
- 60 papers implemented, spanning reinforcement learning, generative modeling, neural radiance fields, and meta-learning
- Every entry links directly to its original arXiv or venue publication, so you can read the math then inspect the code
- Timeline runs from 2013 (
Maxout Networks) through 2021+ (Plenoxels, KiloNeRF, Stable Diffusion v1-5) - Each script exposes the paper’s core mechanism without scaffolding noise
Verdict Students and researchers who learn by dissection will get the most value here. If you are hunting for production-grade training pipelines or pre-trained checkpoints, look elsewhere—this is a reference collection, not a framework.
Frequently asked
- What is MaximeVandegar/Papers-in-100-Lines-of-Code?
- Because the core idea of a paper rarely needs five thousand lines of PyTorch.
- Is Papers-in-100-Lines-of-Code open source?
- Yes — MaximeVandegar/Papers-in-100-Lines-of-Code is open source, released under the MIT license.
- What language is Papers-in-100-Lines-of-Code written in?
- MaximeVandegar/Papers-in-100-Lines-of-Code is primarily written in Python.
- How popular is Papers-in-100-Lines-of-Code?
- MaximeVandegar/Papers-in-100-Lines-of-Code has 2.8k stars on GitHub.
- Where can I find Papers-in-100-Lines-of-Code?
- MaximeVandegar/Papers-in-100-Lines-of-Code is on GitHub at https://github.com/MaximeVandegar/Papers-in-100-Lines-of-Code.