Gradient LabSign up free

ML glossary › Embedding

What is embedding in machine learning?

A learned list of numbers that represents a token (or a document) so similar meanings sit close together.

Where it shows up

Sequences and text

Word embeddings

An embedding turns each token into a list of numbers: a point in space. Before training, the points are scattered at random and mean nothing.

See embedding in motion. The lesson animates it step by step, free.

Open the lesson