It covers:
- The self-attention mechanism.
- Queries, keys, and values.
- Softmax scaling.
- Multi-head attention.
- Positional encoding.
- Transformer blocks.
- Masked language modeling.
The material also explores token dynamics, mathematical proofs, theorems about clustering, low-temperature softmax, and modern attention mechanisms used in large models.
The material is designed for readers with a basic mathematical background. Code examples in Python are used to illustrate the concepts.
This is an excellent resource for those who want to understand the mathematical foundations of modern language models.
It's worth reading and bookmarking.
https://cml-fau.github.io/notebooks/15_transformers.html
https://t.me/CodeProgrammer

