Embeddings

Each token ID maps to a learned vector called an embedding. The model retrieves this vector from an embedding table. These example vectors use hand-picked word groups. They imitate broad clustering patterns but do not come from a trained model.

Model

Input Tokens

Selected Token

Click a token row to inspect it.

Embedding Table Size

Embedding Heatmap (rows = tokens, columns = first 64 dimensions of d_model)

← embedding dimensions →

Cosine Similarity Matrix

Click a preset to change the settings.