Transformers · Level 3 of 5
Contextual Embedding
A representation whose value depends on the surrounding input.
The same token can have different vectors in different contexts.
Example
The representation of bank differs in a river sentence and a finance sentence.
Listen to the definition and example
Audio transcript
Contextual Embedding. A representation whose value depends on the surrounding input. The same token can have different vectors in different contexts. For example: The representation of bank differs in a river sentence and a finance sentence.
Explore this concept
Why it matters
This helps you trace how token representations exchange and transform information.
Start with
Related concepts
Quick recall question
Try answering before looking back at the definition.