Skip to content
Generative AI

How does byte pair encoding tokenization work?

Text is cut into subword tokens from a fixed vocabulary; BPE builds that vocabulary from characters up, repeatedly merging the most frequent adjacent pair. So common words are one token, rare and non-English text cost more, and letters are invisible.

datasciencetrivia.com

Card 1 of 213. Answer: Text is cut into subword tokens from a fixed vocabulary; BPE builds that vocabulary from characters up, repeatedly merging the most frequent adjacent pair. So common words are one token, rare and non-English text cost more, and letters are invisible.

Created by santiviquez

About · To suggest new questions or report an error send me a dm.

All questions