Jump to content

Token embedding (machine learning)

From Wikibase
Revision as of 20:21, 10 November 2026 by Rongzhou (talk | contribs) (Created page with "Category:Token thumbnail|350px|A visual representation of embedding of sub-word tokens in [[natural language processing (NLP).]] Let $t_i \in T$ be tokens obtained from tokenisation of raw data. Then '''vector embedding function''' $$ \operatorname{E}: t_i \mapsto \vec{e}_i $$ == Matrix representation == Let $\mathbf{E} \in \mathbb{R}^{|\mathcal{V}| \times d}$ b...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Languages: English · français · Esperanto

A visual representation of embedding of sub-word tokens in natural language processing (NLP). · Open in a new tab

Let $t_i \in T$ be tokens obtained from tokenisation of raw data.

Then vector embedding function

$$ \operatorname{E}: t_i \mapsto \vec{e}_i $$

Matrix representation

Let $\mathbf{E} \in \mathbb{R}^{|\mathcal{V}| \times d}$ be an vector embedding matrix.

$$ \vec{e}_i = \mathbf{E}[t_i]. $$