Jump to content

Tokenisation (machine learning): Difference between revisions

From Wikibase
Created page with "Category:Tokenisation '''Tokenisation''' is the process of segmenting raw data into tokens.<ref>{{#cite:Q3108}}</ref> == Definition == Formally, let $\mathcal{S}$ be a sequence of data. Any function $$ \tau: \mathcal{S} \to \mathcal{V}^{*} $$ is a '''tokenisation function''', sometimes called a '''tokeniser'''. where $|\mathcal{V}| \ll \infty$ is known as the '''token vocabulary'''."
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
[[Category:Tokenisation]]
[[Category:Token]]
'''Tokenisation''' is the process of segmenting raw data into tokens.<ref>{{#cite:Q3108}}</ref>
'''Tokenisation''' is the process of segmenting raw data into tokens.<ref>{{#cite:Q3108}}</ref>


Line 13: Line 13:


where $|\mathcal{V}| \ll \infty$ is known as the '''token vocabulary'''.
where $|\mathcal{V}| \ll \infty$ is known as the '''token vocabulary'''.
== Vocabulary size ==
The vocabulary size $|\mathcal{V}|$ is a key design choice in tokenisation functions, controlling the trade-off between expressiveness and computational cost.
Typical vocabulary size is $10^4 \to 10^5$.

Latest revision as of 19:11, 10 November 2026

Languages: English · français · Esperanto

Tokenisation is the process of segmenting raw data into tokens.[1]

Definition

Formally, let $\mathcal{S}$ be a sequence of data. Any function

$$ \tau: \mathcal{S} \to \mathcal{V}^{*} $$

is a tokenisation function, sometimes called a tokeniser.

where $|\mathcal{V}| \ll \infty$ is known as the token vocabulary.

Vocabulary size

The vocabulary size $|\mathcal{V}|$ is a key design choice in tokenisation functions, controlling the trade-off between expressiveness and computational cost.

Typical vocabulary size is $10^4 \to 10^5$.