AI engineering glossary · NLP embeddings

What is contextual embedding?

Contextual embedding (also called Contextualised word embedding): A word vector computed from the whole sentence, so the same word gets different vectors in different contexts. Deep sequence models produce them and they capture word senses far better than static vectors.

Level: intermediateTopic: NLP embeddings

Contextual embedding: an example

"bat" gets one vector in "he swung the bat" and a clearly different one in "the bat flew out".

Related terms

More NLP embeddings terms

Where you learn it

Contextual embedding is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.