Skip to main content
grasp.study
About
Explore
Pricing
Log in
Try it for free
Back to course
👋
Welcome to a Grasp lesson
Create a free account
to keep studying and create your own study path.
Elite ML Engineer from Day 1
·
Module 2
Transformer Architecture Fundamentals
1
Transformer Architecture: Encoder-Decoder & Core Components
Describe the high-level encoder-decoder structure of the original Transformer and its core components.
2
Scaled Dot-Product Attention in PyTorch
Implement the scaled dot-product attention mechanism in PyTorch.
3
Multi-Head Attention: Theory and Implementation
Implement multi-head attention and explain how it enables learning different representation subspaces.
4
Absolute Positional Encodings: Role & Implementation
Describe the role and implementation of absolute positional encodings.
5
Decoding the Feed-Forward Network in Transformers
Explain the purpose of the position-wise feed-forward network in each transformer block.
6
Layer Normalization: Stabilizing Transformer Training
Implement layer normalization and explain its importance for stabilizing training in deep transformers.
7
Encoder-Decoder Data Flow Breakdown
Trace the data flow through a full encoder and decoder block, including all sub-layers and residual connections.
8
Transformer Parameter Calculation
Calculate the number of parameters in a transformer model given its configuration (layers, heads, dimensions).
Previous module
Foundations of Sequence Modeling: From RNNs to Attention
Next module
Attention Mechanisms and Architectural Variants