- Executors
-
Learn
Learn Python Runnable examples, NumPy, pandas, and more Learn AINeural networks, ML and LLMs from scratch Learn C & C++ Pointers, memory, STL, and modern C++ Learn C#C# basics, OOP, LINQ, async, and .NET exercises Python Algorithms Search, sorting, recursion, and visualizers O(n) C & C++ Algorithms Compare algorithms implemented in C and C++
- ChallengesNew
AI learning path
Build the pieces of a Transformer in C#
9 challenges on how large language models work inside: tokenizers and byte pair encoding, positional encoding, self-attention, causal and multi-head attention, layer normalization and sampling the next token. Solve them in order in C#; each one runs in your browser with instant tests and an AI review.
Sign in to save your progress through the path.
0%solved
0 / 9
-
1 Learn the concept first Tokenization: Vocabulary, One-Hot and Byte Pair Encoding in Python Read the lesson →0/3Tokenization
Turn text into tokens: vocabularies, one-hot vectors and BPE.
- 1 Word Tokenizer and Vocabulary Easy Solve in C#
- 2 One-Hot Encoding Easy Solve in C#
- 3 Byte Pair Encoding (BPE) Merges Medium Solve in C#
-
2 Learn the concept first Attention and Self-Attention in Python Read the lesson →0/4Attention
Positional encoding and self-attention, causal and multi-head.
-
3 Learn the concept first How Language Models Generate Text: Temperature and Top-k in Python Read the lesson →0/2Normalization and generation
Layer normalization and choosing the next token.
- 1 Layer Normalization Medium Solve in C#
- 2 Temperature and Top-K Sampling Medium Solve in C#