Transformers Architecture: Concepts, part 2
Questions covered
- Explain positional encodings: sinusoidal, learned, RoPE, ALiBi.
- What is the time and memory complexity of attention? How is it reduced?
- Encoder-only vs decoder-only vs encoder-decoder — when to use each?
- Pre-norm vs post-norm Transformers?
- How many parameters does a Transformer layer have, roughly?
This lesson is part of AI & ML Interview Prep. Unlock the full course to read it, take the quiz and track your progress.