Gradivex
  • Home
  • Academy
  • Arena
  • Visualizer
  • Models
Log in
All protocols

NLP & Transformers

The complete pipeline that turns raw text into ChatGPT, with nothing skipped. You start where the model starts, with text it cannot read, and follow the data through tokenization, embeddings, and attention, up to the full GPT architecture and the training recipe (pretraining, instruction tuning, RLHF) that turns an autocomplete engine into an assistant.

The interactives run the real algorithms in your browser: you will perform BPE merges yourself, compute attention weights through an honest softmax, and reshape a sampling distribution with the same temperature dial the APIs give you.

Advanced5 modules · 25 lessons · ~168 min

What you'll be able to do

  • Explain how text becomes tokens, and why tokenizers cause the model's strangest failures: counting letters, doing arithmetic, charging some languages triple
  • Read the attention mechanism end to end: scores, softmax, weighted mixing, causal mask, multiple heads
  • Say what GPT is in one precise sentence (a decoder-only transformer) and explain why scaling it kept working
  • Describe how an assistant is made, stage by stage: pretraining, instruction tuning, RLHF
  • Set temperature, top-p and context length in an API knowing exactly what each dial does to the distribution
1

From Text to Tokens

Models can't read words: how text becomes numbers.

0/5 lessons completed · ~33 min
  1. Why models can't read7 minUp next
  2. What is a token?7 min
  3. Byte-pair encoding7 min
  4. Vocabulary and token IDs6 min
  5. Tokenizer quirks and failures6 min
2

Embeddings

From token IDs to meaning: vectors, semantic space, context.

0/5 lessons completed · ~30 min
  1. Bag of words6 minUp next
  2. Word embeddings6 min
  3. Word2Vec and GloVe6 min
  4. The semantic space6 min
  5. Contextual embeddings6 min
3

The Transformer

The architecture that changed everything: attention is all you need.

0/5 lessons completed · ~35 min
  1. The attention mechanism7 minUp next
  2. Multi-head attention7 min
  3. Positional encoding7 min
  4. Full transformer architecture7 min
  5. Why transformers beat RNNs7 min
4

Language Models

GPT, BERT, and the large language model revolution.

0/5 lessons completed · ~34 min
  1. Autoregressive models9 minUp next
  2. GPT architecture6 min
  3. BERT vs GPT6 min
  4. Scaling laws6 min
  5. Emergent abilities7 min
5

From Base Model to Assistant

Pretraining, fine-tuning, RLHF: how ChatGPT is actually made.

0/5 lessons completed · ~36 min
  1. Pretraining: learning from the internet7 minUp next
  2. Instruction tuning6 min
  3. RLHF: learning from feedback9 min
  4. Sampling: temperature and top-p7 min
  5. The context window7 min
Gradivex

Understand AI from the inside, read it, see it, prove it.

Platform

AcademyVisualizerRoadmapsModels

Community

DiscordLeaderboard

Company

PrivacyTerms

© 2026 Gradivex. All rights reserved.