[KongchangAI]
Concept

SentencePiece

A language-agnostic subword tokenization tool supporting multiple algorithms including BPE and Unigram. It is widely used as a tokenizer for large language models and can learn tokenization models directly from raw text.

Timeline (last 90 days)

Oct 11

A Tokenizer is responsible for splitting raw text into token sequences that the model can process; mainstream approaches include BPE, WordPiece, and SentencePiece.

Unverified50%
Oct 4

Metaspace is a special pre-tokenization processing technique common in the SentencePiece tokenization system, which replaces spaces between words with a special underscore character (▁).

Unverified50%
Sep 30

The SentencePiece toolkit includes a complete implementation of Unigram language model tokenization.

Unverified50%
Sep 30

The GLM series uses a SentencePiece-based tokenizer and includes several special control tokens such as [gMASK] and <sop>.

Unverified50%
Sep 11

Mainstream large language models generally adopt BPE (Byte Pair Encoding) or its variants (such as SentencePiece) as tokenization algorithms, and GPT-4's vocabulary is approximately 100,000 tokens.

Unverified50%
Sep 11

SentencePiece is a language-agnostic tokenization framework developed by Google, particularly well-suited for languages without clear word boundaries such as Chinese, Japanese, and Korean.

Unverified50%
Sep 7

The GPT series uses the BPE algorithm with vocabularies such as cl100k_base, the Llama series uses SentencePiece, and Gemini has its own proprietary tokenization scheme.

Unverified50%
Aug 31

The project does not rely on heavyweight frameworks such as Hugging Face; the core code is under 400 lines, with only 5 dependencies: PyTorch, SentencePiece, NumPy, TensorBoard, and TQDM.

Unverified50%
Aug 31

The core code of the generated TinyGPT project is under 400 lines, with only 5 dependencies: PyTorch, SentencePiece, NumPy, TensorBoard, and TQDM.

Unverified50%
Aug 28

SentencePiece is a language-agnostic tokenization framework proposed by Google that models directly on raw text and is suitable for multilingual use and languages without clear word boundaries.

Unverified60%

4 more timeline events

All Facts (15)

Unverified

SentencePiece is a language-agnostic tokenization framework proposed by Google that models directly on raw text and is suitable for multilingual use and languages without clear word boundaries.

60%
Unverified

Different models use different tokenization schemes (such as BPE, SentencePiece, etc.), and the same piece of text may be counted as a different number of tokens across different models.

60%
Unverified

OpenAI uses the BPE (Byte Pair Encoding) algorithm for tokenization, while Google's SentencePiece adopts a language-agnostic tokenization method trained directly on raw text.

60%
Unverified

OpenAI uses the tiktoken tokenization algorithm, and Google uses the SentencePiece tokenization algorithm.

60%
Unverified

A Tokenizer is responsible for splitting raw text into token sequences that the model can process; mainstream approaches include BPE, WordPiece, and SentencePiece.

50%
Unverified

Metaspace is a special pre-tokenization processing technique common in the SentencePiece tokenization system, which replaces spaces between words with a special underscore character (▁).

50%
Unverified

The SentencePiece toolkit includes a complete implementation of Unigram language model tokenization.

50%
Unverified

The GLM series uses a SentencePiece-based tokenizer and includes several special control tokens such as [gMASK] and <sop>.

50%
Unverified

Mainstream large language models generally adopt BPE (Byte Pair Encoding) or its variants (such as SentencePiece) as tokenization algorithms, and GPT-4's vocabulary is approximately 100,000 tokens.

50%
Unverified

SentencePiece is a language-agnostic tokenization framework developed by Google, particularly well-suited for languages without clear word boundaries such as Chinese, Japanese, and Korean.

50%
Unverified

The GPT series uses the BPE algorithm with vocabularies such as cl100k_base, the Llama series uses SentencePiece, and Gemini has its own proprietary tokenization scheme.

50%
Unverified

The project does not rely on heavyweight frameworks such as Hugging Face; the core code is under 400 lines, with only 5 dependencies: PyTorch, SentencePiece, NumPy, TensorBoard, and TQDM.

50%
Unverified

The core code of the generated TinyGPT project is under 400 lines, with only 5 dependencies: PyTorch, SentencePiece, NumPy, TensorBoard, and TQDM.

50%
Unverified

现代语言模型的词汇表规模通常在32,000到100,000个token之间,使用BPE或SentencePiece等分词方法

50%
Unverified

不同模型的Token化方式存在差异,OpenAI使用BPE算法,Google使用SentencePiece

50%

Source Articles