The answer
A basic token lookup vector does not. Later contextual layers incorporate the available sequence, so the same initial vector can contribute to different representations in different sentences.
A basic token lookup vector does not. Later contextual layers incorporate the available sequence, so the same initial vector can contribute to different representations in different sentences.
Usually it is part of the model itself. Tokenization is a separate preprocessing stage, while the learned embedding lookup participates in the neural network’s computation.
One-hot vectors identify vocabulary entries but are sparse and do not directly encode learned relationships. Dense embeddings provide a practical representation for subsequent neural computations.
Browse all our FAQs or reach out to our support team
Your learning library
Find your next course. Build something great.