8 min read
Checking continuation-prefix lookups in a WordPiece vocabulary
Inspect ordinary and ##-prefixed entries separately and trace a failing lookup without assuming they are interchangeable
Read4 guides on algorithm.
Inspect ordinary and ##-prefixed entries separately and trace a failing lookup without assuming they are interchangeable
ReadUse a code probe to locate a suffix that cannot be matched; explain whole-word [UNK] fallback instead of partial-prefix output
ReadConstruct a vocabulary-search experiment that compares greedy output with dynamic programming on one pinned BERT vocabulary; explain why the deployed tokenizer must be treated as the oracle
ReadThe greedy longest-match rule behind BERT subword tokens, why continuations carry
Read