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, ... ๐Ÿง 

24 articles 65.8k View on GitHub โ†—
24 articles
Evidential Deep Learning for Classification Uncertainty: A Complete Implementation Guide

Learn to implement evidential deep learning for classification uncertainty. Transform neural network outputs into evidence parameters defining a Dirichlet distribution for explicit uncertainty quantification with labmlai.

how-to-guide
Mar 4, 2026
Pre-LN and Post-LN Transformer Architectures: Key Differences and Implementation Guide

Understand the key differences between Pre-LN and Post-LN transformer architectures. Learn how Pre-LN improves stable training of deep models and explore implementation guides.

deep-dive
Mar 4, 2026
How FNet Is Different From Standard Transformer Attention: A Deep Dive into Fourier-Based Token Mixing

Discover how FNet revolutionizes Transformers by replacing attention with Fourier transforms. Experience linear complexity, reduced computation, and faster training. Learn the key differences today.

deep-dive
Mar 4, 2026
How Capsule Networks Implement Dynamic Routing in PyTorch

Learn how Capsule Networks use dynamic routing via routing by agreement. Explore PyTorch implementation details and the Router class at labmlai annotated deep learning paper implementations.

deep-dive
Mar 4, 2026
Feedforward Transformer vs Standard Attention: Architectural Differences Explained

Discover the key differences between Feedforward Transformer and standard attention. Learn how Feedforward Transformers use FFNs solely, contrasting with attention's O(Lยฒ) complexity.

deep-dive
Mar 4, 2026
How Stable Diffusion Uses Latent Space for Image Generation: Technical Architecture Explained

Discover how Stable Diffusion leverages its latent space architecture for image generation. Learn about the text-conditioned U-Net and VAE encoding/decoding process.

architecture
Mar 4, 2026
How the Switch Transformer Routing Mechanism Works: Token-to-Expert Selection Explained

Learn how the Switch Transformer routing mechanism assigns tokens to experts with softmax, enforces capacity limits, and scales output by confidence for efficient sparse training.

deep-dive
Mar 4, 2026
How ALiBi Removes Positional Embeddings While Preserving Attention Patterns

Discover how ALiBi removes positional embeddings by adding linear biases to attention logits. Learn how this preserves attention patterns & relative ordering without learned vectors.

deep-dive
Mar 4, 2026
RAdam vs Adam Optimizer: Key Differences for Stable Deep Learning Training

Discover the key differences between RAdam and Adam optimizers for stable deep learning training. RAdam offers automatic warm-up and faster convergence.

deep-dive
Mar 4, 2026
How the Dueling Network Architecture Is Implemented in DQN

Learn how the dueling network architecture is implemented in DQN. Discover how state-value and action-advantage streams combine for stable learning in this detailed guide.

deep-dive
Mar 4, 2026
How PPO with GAE Improves Reinforcement Learning Sample Efficiency

Discover how PPO with GAE enhances reinforcement learning sample efficiency. Learn to update policies stably and informatively with low-variance advantage estimates from limited data.

tutorial
Mar 4, 2026
StyleGAN 2 vs Original GAN: 8 Key Architectural Differences

Discover 8 key architectural differences between StyleGAN 2 and original GANs. Learn how StyleGAN 2 achieves high-fidelity image synthesis with its improved generator-discriminator pipeline.

deep-dive
Mar 4, 2026

Have a question about this repo?

These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:

Share the following with your agent to get started:
curl -s "https://instagit.com/install.md"

Works with
Claude Codex Cursor VS Code OpenClaw Any MCP Client

Maintain an open-source project? Get it listed too โ†’