TensorTonicTensorTonic
Problems
Study PlansLabsProjectsInterviewPricingFeedback

Implement ML Papers From Scratch

Each track breaks one landmark paper into small steps. You implement every step in Python in the browser, and tests check your code before you move on. If you are new, start with the Transformer, or read which ML papers to implement from scratch to choose a track.

Transformers and LLMs

Convolutional networks

Sequence models and embeddings

Generative models

Attention Is All You Need

Attention Is All You Need badge
1

Tokenization

Convert text to token IDs

Medium
2

Embedding Layer

Map tokens to vectors

Easy
3

Positional Encoding

Inject position via sinusoids

Medium
4

Scaled Dot-Product Attention

Core QKV mechanism

Medium
5

Multi-Head Attention

Parallel attention heads

Hard
6

Feed-Forward Network

Position-wise MLP

Easy
7

Layer Normalization

Normalize activations

Easy
8

Encoder Block

Complete encoder layer

Medium
End-to-endAssemble and train a TransformerOpen
Loading architecture visualization...