Generative AI · intermediate
Scaled Dot-Product Attention From Scratch in NumPy
Build the attention mechanism behind every transformer in plain NumPy: queries, keys, values, the √d scaling, causal masks and multi-head attention.
THE INFERENCEAI BLOG
Tutorials, roadmaps and career guides for university students in the US, UK, Canada, Europe and beyond. Every guide explains the idea, shows tested Python code, and links to a problem you can solve.
Generative AI · intermediate
Build the attention mechanism behind every transformer in plain NumPy: queries, keys, values, the √d scaling, causal masks and multi-head attention.
Generative AI · beginner
Understand tokens, embeddings, attention, training, and generation without skipping the engineering details.