[KongchangAI]
ConceptByte Pair Encoding / 字节对编码

BPE

一种主流LLM分词算法,源于数据压缩领域,通过迭代合并高频相邻字符对构建子词词表,能自然处理未登录词问题

Core Facts

Timeline (last 90 days)

Aug 25

OpenAI使用BPE(Byte Pair Encoding)算法进行分词,Google的SentencePiece采用与语言无关的分词方法直接在原始文本上训练

Unverified50%
Aug 25

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

Unverified50%
Aug 4

Mainstream large models generally adopt the BPE (Byte Pair Encoding) algorithm for tokenization

Unverified90%
Aug 4

BPE starts at the character level and progressively merges the most frequently co-occurring adjacent character pairs into longer subword units

Unverified90%
Jul 16

主流分词器方案包括 BPE(Byte Pair Encoding)、WordPiece 和 SentencePiece

Verified65%
Jun 1

OpenAI使用BPE(Byte Pair Encoding,字节对编码)算法进行Token编码

Verified80%
Jun 1

在GPT系列模型中,一个中文汉字通常对应1到2个Token,一个英文单词大约对应1到1.5个Token

Verified80%

All Facts (7)

Source Articles