- Executors
-
Learn
Python Learning Hub Runnable examples, NumPy, pandas, and more C & C++ Learning Hub Pointers, memory, STL, and modern C++ C# Learning HubC# 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++
- Challenges
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 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 0/4Attention
Positional encoding and self-attention, causal and multi-head.
-
3 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#