Concept字节回退 / byte-fallback
byte fallback
A safety mechanism provided by SentencePiece that outputs UTF-8 byte-level tokens for characters not present in the vocabulary, achieving lossless representation and eliminating UNK. The cost is a possible reduction in compression efficiency.
Timeline (last 90 days)
Oct 4
The byte fallback mechanism decomposes characters not found in the vocabulary into their corresponding UTF-8 byte sequences when the tokenizer encounters them, mapping each byte to a special token in the form of <0xE4>.
Unverified50%