labml.ai Deep Learning Paper Implementations

November 11, 2025 · View on GitHub

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

pip install labml-nn