Skip to content

3300: Decoding - Prerequisites

⏱ 1 min read·📅 Last updated: 2026-10-09

Before You Start

This module covers activation functions, normalization, and decoding strategies.

Required Knowledge:

Neural Networks

  • Layer composition
  • Non-linearity importance
  • Gradient flow

ML Basics

  • Activation functions (ReLU, Sigmoid, Tanh)
  • Gradient problems (vanishing, exploding)
  • Batch normalization

Probability

  • Sampling strategies
  • Temperature in softmax
  • Top-K and Top-P sampling

If you're not familiar:

Review Resources:

  • "Deep Learning" book (Goodfellow et al.) - Chapter 6
  • "Vanishing Gradient Problem" Wikipedia
  • Hugging Face Generation documentation

Estimated Review Time: 2-3 hours


Self-Assessment

Can you:

  • Derive ReLU derivative?
  • Explain why batch norm helps?
  • Describe temperature sampling?
  • Compare greedy vs sampling decoding?

If YES: Start with 3301: Activation Functions

If NO: Review the resources above first.