#3636th of 171 in Learning and cookbooks

annotated_deep_learning_paper_implementations

Annotated PyTorch implementations of deep learning papers with side-by-side notes

Run it:Vast.ai ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.

Stars
67.8k
License
MIT
Last commit
Nov 2026
Language
Python
Stars, last 35 weeks+2,489
24 Mar 2026: 65,315 stars31 Mar 2026: 65,421 stars7 Apr 2026: 65,501 stars14 Apr 2026: 65,570 stars21 Apr 2026: 65,656 stars28 Apr 2026: 65,769 stars5 May 2026: 65,875 stars12 May 2026: 66,044 stars19 May 2026: 66,177 stars26 May 2026: 66,262 stars2 Jun 2026: 66,348 stars9 Jun 2026: 66,407 stars16 Jun 2026: 66,467 stars23 Jun 2026: 66,529 stars30 Jun 2026: 66,586 stars7 Jul 2026: 66,642 stars14 Jul 2026: 66,714 stars21 Jul 2026: 66,834 stars28 Jul 2026: 66,895 stars4 Aug 2026: 66,953 stars11 Aug 2026: 67,003 stars18 Aug 2026: 67,039 stars25 Aug 2026: 67,096 stars1 Sept 2026: 67,152 stars8 Sept 2026: 67,191 stars15 Sept 2026: 67,254 stars22 Sept 2026: 67,318 stars29 Sept 2026: 67,356 stars6 Oct 2026: 67,394 stars13 Oct 2026: 67,441 stars20 Oct 2026: 67,489 stars27 Oct 2026: 67,534 stars3 Nov 2026: 67,620 stars10 Nov 2026: 67,712 stars17 Nov 2026: 67,762 stars24 Nov 2026: 67,804 stars

65,315 on 24 Mar 202667,804 on 24 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

A collection of short PyTorch implementations of neural network architectures and algorithms, each rendered on nn.labml.ai as code beside explanatory notes. It covers transformers (including Flash Attention in Triton, RoPE, ALiBi), LoRA, diffusion models, GANs, reinforcement learning, optimizers, normalization layers and more. Installable as the labml-nn pip package.

Who it is for: Engineers and students learning how deep learning papers are implemented

Strengths

  • Broad coverage: transformers, diffusion, GANs, RL, optimizers, normalization, LoRA, GNNs, CFR
  • Each implementation has side-by-side code and explanation on a hosted website
  • Compact PyTorch code that is readable for studying the original papers
  • MIT license; install with pip install labml-nn

Weaknesses

  • Written for study, not as an optimized production library
  • No release tags; versioning is only via the pip package
  • Many entries cover older papers; recent architectures are sparse
  • README gives no hardware requirements beyond GPU notes for the GPT-NeoX examples

What it needs

  • GPU optional
  • Needs PyTorch
  • Models: PyTorch, JAX (transformer example), Triton (Flash Attention)

Also in Learning and cookbooks

See all 171
Also in Learning and cookbooks
RankProjectScore
#34amazon-sagemaker-examplesOfficial notebooks for training, tuning, deploying and operating models on SageMaker11k starsApache-2.067 out of 100
#35prompt_engineering22 Jupyter notebooks teaching prompt engineering with OpenAI and LangChain7.9k starscustom license67 out of 100
#37learnopencvCode for LearnOpenCV blog tutorials on computer vision and deep learning23.3k starsno license66 out of 100
#38ed-donner/agentsSix-week course with notebooks for building and deploying AI agents6.7k stars+193 (+3.0%) in 30 daysMIT66 out of 100
#39ai-agents-from-zeroChinese tutorial with runnable code for building LLM agents in LangChain and LangGraph6.2k starsMIT66 out of 100