MCPcopy
hub / github.com/labmlai/annotated_deep_learning_paper_implementations

github.com/labmlai/annotated_deep_learning_paper_implementations @main sqlite

repository ↗ · DeepWiki ↗
1,769 symbols 5,594 edges 231 files 1,220 documented · 69%
README

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

Core symbols most depended-on inside this repo

add
called by 112
labml_nn/rl/dqn/replay_buffer.py
append
called by 97
labml_nn/transformers/feedback/__init__.py
save
called by 38
labml_nn/cfr/infoset_saver.py
run
called by 35
labml_nn/unet/experiment.py
zero_grad
called by 33
labml_nn/helpers/optimizer.py
load
called by 31
labml_nn/neox/model.py
norm
called by 26
labml_nn/transformers/compressive/__init__.py
device
called by 25
labml_nn/neox/evaluation/__init__.py

Shape

Method 988
Class 415
Function 363
Route 3

Languages

Python99%
TypeScript1%

Modules by API surface

labml_nn/transformers/jax_transformer/__init__.py64 symbols
labml_nn/helpers/trainer.py53 symbols
labml_nn/gan/stylegan/__init__.py50 symbols
labml_nn/neox/model.py43 symbols
labml_nn/helpers/datasets.py32 symbols
labml_nn/gan/cycle_gan/__init__.py31 symbols
labml_nn/sketch_rnn/__init__.py29 symbols
labml_nn/diffusion/ddpm/unet.py29 symbols
labml_nn/cfr/__init__.py29 symbols
labml_nn/diffusion/stable_diffusion/model/autoencoder.py27 symbols
labml_nn/transformers/retro/model.py23 symbols
labml_nn/transformers/models.py23 symbols

Dependencies from manifests, versioned

Pillow6.2.1 · 1×
einops0.3.0 · 1×
labml0.4.147 · 1×
labml-helpers0.4.84 · 1×
matplotlib3.0.3 · 1×
numpy1.19 · 1×
torch1.10 · 1×
torchtext0.11 · 1×
torchvision0.11 · 1×

For agents

$ claude mcp add annotated_deep_learning_paper_implementations \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact