BPE tokenization merges frequent adjacent byte pairs iteratively
Image: Rhododendrites, CC BY-SA 4.0, via Wikimedia Commons
BPE tokenization merges frequent adjacent byte pairs iteratively
BPE tokenization does: iteratively merges the most frequent byte pairs
BPE tokenizes text by iteratively merging the most frequent byte pairs
WordPiece tokenization does: similar to BPE but uses likelihood instead of frequency
WordPiece tokenization splits words into subwords based on token likelihood rather than frequency
consistent hashing does: minimizes remapping when nodes join/leave
Consistent hashing distributes data across nodes, minimizing remapping when nodes join/leave
consistent hashing solves: minimizes key redistribution when servers are added/removed
Consistent hashing minimizes key redistribution when servers are added/removed
subword tokenization solves: handles rare words by breaking into known pieces
Subword tokenization solves rare word handling by breaking into known pieces
SentencePiece does differently from BPE: operates on raw text including whitespace
SentencePiece tokenizes text without pre-tokenization, preserving whitespace
One email a day: 5 concepts + the 5 stories that matter →
Swipe through 100 ML concepts daily
Open TickerNews