AI Base

Chapter 02 · overview · 1 min read

Embeddings and Masking

A token id is just an index. This short section covers the two things that happen before attention ever runs: turning that index into a vector the rest of the network can use, and deciding which positions a given token is even allowed to attend to.

Topics in this section: