Annotated deep learning paper implementations

๐Ÿง‘โ€๐Ÿซ 60+ Implementations/tutorials of deep learning papers with side-by-side notes ๐Ÿ“; including transformers (original, xl, switch, feedback, vit, ...), optimizers (adam, adabelief, sophia, ...), gans(cyclegan, stylegan2, ...), ๐ŸŽฎ reinforcement learning (ppo, dqn), capsnet, distillation, ... ๐Ÿง 

From labmlaiยทUpdated May 30, 2026ยทView on GitHubยท

This is a collection of simple PyTorch implementations of neural networks and related algorithms. These implementations are documented with explanations, The project is written primarily in Python, distributed under the MIT License license, first published in 2020. It has gained significant community traction with 66,851 stars and 6,711 forks on GitHub. Key topics include: attention, deep-learning, deep-learning-tutorial, gan, literate-programming.

Twitter

labml.ai Deep Learning Paper Implementations

This is a collection of simple PyTorch implementations of
neural networks and related algorithms.
These implementations are documented with explanations,

The website
renders these as side-by-side formatted notes.
We believe these would help you understand these algorithms better.

Screenshot

We are actively maintaining this repo and adding new
implementations almost weekly.
Twitter for updates.

Paper Implementations

โœจ Transformers

โœจ Low-Rank Adaptation (LoRA)

โœจ Eleuther GPT-NeoX

โœจ Diffusion models

โœจ Generative Adversarial Networks

โœจ Recurrent Highway Networks

โœจ LSTM

โœจ HyperNetworks - HyperLSTM

โœจ ResNet

โœจ ConvMixer

โœจ Capsule Networks

โœจ U-Net

โœจ Sketch RNN

โœจ Graph Neural Networks

โœจ Counterfactual Regret Minimization (CFR)

Solving games with incomplete information such as poker with CFR.

โœจ Reinforcement Learning

โœจ Optimizers

โœจ Normalization Layers

โœจ Distillation

โœจ Adaptive Computation

โœจ Uncertainty

โœจ Activations

โœจ Langauge Model Sampling Techniques

โœจ Scalable Training/Inference

Installation

bash
pip install labml-nn

Contributors

Showing top 12 contributors by commit count.

View all contributors on GitHub โ†’

This article is auto-generated from labmlai/annotated_deep_learning_paper_implementations via the GitHub API.Last fetched: 5/30/2026