{"build": "b12899", "case": "qwen-clean", "vocab": "qwen2", "changed": "nothing (Qwen2 vocabulary with Qwen3's four added tokens named)", "exit": 1, "verdict": "MISMATCH", "causes": ["unicode-normalization"], "header_findings": [{"level": "WARN", "code": "bos-eos", "text": "eos_token_id: GGUF 151643, Hugging Face 151645"}], "categories": {"words": [6, 0], "space": [11, 0], "digits": [5, 0], "code": [5, 0], "unicode": [10, 1], "special": [40, 0], "bos-eos": [2, 0]}, "first": {"text": "é vs é", "llama_cpp": [68, 53839, 6165, 3958], "hf": [963, 6165, 3958], "first_diff": 0, "cause": "unicode-normalization"}}
{"build": "b12899", "case": "qwen-no-pre", "vocab": "qwen2", "changed": "tokenizer.ggml.pre removed", "exit": 1, "verdict": "MISMATCH", "causes": ["pre-missing", "unicode-normalization"], "header_findings": [{"level": "FAIL", "code": "pre-missing", "text": "BPE vocabulary without tokenizer.ggml.pre: llama.cpp uses 'default'"}, {"level": "WARN", "code": "bos-eos", "text": "eos_token_id: GGUF 151643, Hugging Face 151645"}], "categories": {"words": [6, 1], "space": [11, 5], "digits": [5, 1], "code": [5, 5], "unicode": [10, 1], "special": [40, 0], "bos-eos": [2, 0]}, "first": {"text": "I've been told he's there, we'll see", "llama_cpp": [40, 6, 586, 1012, 3229, 566, 6, 82, 1052, 11, 582, 6, 654, 1490], "hf": [40, 3003, 1012, 3229, 566, 594, 1052, 11, 582, 3278, 1490], "first_diff": 1, "cause": "pre-missing"}}
{"build": "b12899", "case": "qwen-pre-default", "vocab": "qwen2", "changed": "tokenizer.ggml.pre = default", "exit": 1, "verdict": "MISMATCH", "causes": ["pre-tokenizer", "unicode-normalization"], "header_findings": [{"level": "WARN", "code": "bos-eos", "text": "eos_token_id: GGUF 151643, Hugging Face 151645"}], "categories": {"words": [6, 1], "space": [11, 5], "digits": [5, 1], "code": [5, 5], "unicode": [10, 1], "special": [40, 0], "bos-eos": [2, 0]}, "first": {"text": "I've been told he's there, we'll see", "llama_cpp": [40, 6, 586, 1012, 3229, 566, 6, 82, 1052, 11, 582, 6, 654, 1490], "hf": [40, 3003, 1012, 3229, 566, 594, 1052, 11, 582, 3278, 1490], "first_diff": 1, "cause": "pre-tokenizer"}}
{"build": "b12899", "case": "qwen-pre-llama-bpe", "vocab": "qwen2", "changed": "tokenizer.ggml.pre = llama-bpe", "exit": 1, "verdict": "MISMATCH", "causes": ["unicode-normalization", "bos-eos"], "header_findings": [{"level": "WARN", "code": "bos-eos", "text": "eos_token_id: GGUF 151643, Hugging Face 151645"}], "categories": {"words": [6, 0], "space": [11, 0], "digits": [5, 0], "code": [5, 0], "unicode": [10, 1], "special": [40, 0], "bos-eos": [2, 2]}, "first": {"text": "Hello world", "llama_cpp": [151643, 9707, 1879], "hf": [9707, 1879], "first_diff": 0, "cause": "bos-eos"}}
{"build": "b12899", "case": "qwen-im-start-normal", "vocab": "qwen2", "changed": "<|im_start|> typed NORMAL instead of CONTROL", "exit": 1, "verdict": "MISMATCH", "causes": ["special-type", "unicode-normalization"], "header_findings": [{"level": "FAIL", "code": "special-type", "text": "1 added token(s) are not CONTROL/USER_DEFINED in the GGUF: 151644 '<|im_start|>'=NORMAL"}, {"level": "WARN", "code": "bos-eos", "text": "eos_token_id: GGUF 151643, Hugging Face 151645"}], "categories": {"words": [6, 0], "space": [11, 0], "digits": [5, 0], "code": [5, 0], "unicode": [10, 1], "special": [40, 8], "bos-eos": [2, 0]}, "first": {"text": "<|im_start|>", "llama_cpp": [27, 91, 318, 4906, 91, 29], "hf": [151644], "first_diff": 0, "cause": "special-type"}}
{"build": "b12899", "case": "qwen-think-normal", "vocab": "qwen2", "changed": "<think> and </think> typed NORMAL instead of USER_DEFINED", "exit": 1, "verdict": "MISMATCH", "causes": ["special-type", "unicode-normalization"], "header_findings": [{"level": "FAIL", "code": "special-type", "text": "2 added token(s) are not CONTROL/USER_DEFINED in the GGUF: 151667 '<think>'=NORMAL, 151668 '</think>'=NORMAL"}, {"level": "WARN", "code": "bos-eos", "text": "eos_token_id: GGUF 151643, Hugging Face 151645"}], "categories": {"words": [6, 0], "space": [11, 0], "digits": [5, 0], "code": [5, 0], "unicode": [10, 1], "special": [48, 16], "bos-eos": [2, 0]}, "first": {"text": "<think>", "llama_cpp": [13708, 766, 29], "hf": [151667], "first_diff": 0, "cause": "special-type"}}
{"build": "b12899", "case": "qwen-add-bos", "vocab": "qwen2", "changed": "add_bos_token = true", "exit": 1, "verdict": "MISMATCH", "causes": ["unicode-normalization", "bos-eos"], "header_findings": [{"level": "WARN", "code": "bos-eos", "text": "eos_token_id: GGUF 151643, Hugging Face 151645"}], "categories": {"words": [6, 0], "space": [11, 0], "digits": [5, 0], "code": [5, 0], "unicode": [10, 1], "special": [40, 0], "bos-eos": [2, 2]}, "first": {"text": "Hello world", "llama_cpp": [151643, 9707, 1879], "hf": [9707, 1879], "first_diff": 0, "cause": "bos-eos"}}
{"build": "b12899", "case": "qwen-vocab-edit", "vocab": "qwen2", "changed": "text of token 9707 changed", "exit": 1, "verdict": "MISMATCH", "causes": ["vocab"], "header_findings": [{"level": "FAIL", "code": "vocab", "text": "1 token texts differ at the same id (GGUF vs HF), e.g. 9707: 'Hullo' vs 'Hello'"}, {"level": "WARN", "code": "bos-eos", "text": "eos_token_id: GGUF 151643, Hugging Face 151645"}], "categories": {"words": [6, 2], "space": [11, 0], "digits": [5, 0], "code": [5, 0], "unicode": [10, 1], "special": [40, 0], "bos-eos": [2, 1]}, "first": {"text": "Hello world", "llama_cpp": [39, 68, 75, 75, 78, 1879], "hf": [9707, 1879], "first_diff": 0, "cause": "vocab"}}
{"build": "b12899", "case": "llama3-as-shipped", "vocab": "llama-bpe", "changed": "nothing (vocab file has no add_bos_token key)", "exit": 0, "verdict": "SAME", "causes": [], "header_findings": [], "categories": {"words": [6, 0], "space": [11, 0], "digits": [5, 0], "code": [5, 0], "unicode": [10, 0], "special": [48, 0], "bos-eos": [2, 0]}, "first": null}
{"build": "b12899", "case": "llama3-add-bos", "vocab": "llama-bpe", "changed": "add_bos_token = true", "exit": 0, "verdict": "SAME", "causes": [], "header_findings": [], "categories": {"words": [6, 0], "space": [11, 0], "digits": [5, 0], "code": [5, 0], "unicode": [10, 0], "special": [48, 0], "bos-eos": [2, 0]}, "first": null}
{"build": "b12899", "case": "llama3-pre-smaug", "vocab": "llama-bpe", "changed": "tokenizer.ggml.pre = smaug-bpe", "exit": 0, "verdict": "SAME", "causes": [], "header_findings": [], "categories": {"words": [6, 0], "space": [11, 0], "digits": [5, 0], "code": [5, 0], "unicode": [10, 0], "special": [48, 0], "bos-eos": [2, 0]}, "first": null}
{"build": "b12899", "case": "llama3-pre-qwen2", "vocab": "llama-bpe", "changed": "tokenizer.ggml.pre = qwen2", "exit": 1, "verdict": "MISMATCH", "causes": ["pre-tokenizer"], "header_findings": [], "categories": {"words": [6, 0], "space": [11, 0], "digits": [5, 4], "code": [5, 0], "unicode": [10, 0], "special": [48, 0], "bos-eos": [2, 0]}, "first": {"text": "1234567", "llama_cpp": [16, 17, 18, 19, 20, 21, 22], "hf": [4513, 10961, 22], "first_diff": 0, "cause": "pre-tokenizer"}}
{"build": "b12899", "case": "spm-as-shipped", "vocab": "llama-spm", "changed": "nothing", "exit": 0, "verdict": "SAME", "causes": [], "header_findings": [], "categories": {"words": [6, 0], "space": [11, 0], "digits": [5, 0], "code": [5, 0], "unicode": [10, 0], "special": [24, 0], "bos-eos": [2, 0]}, "first": null}
{"build": "b12899", "case": "spm-no-space-prefix", "vocab": "llama-spm", "changed": "add_space_prefix = false", "exit": 1, "verdict": "MISMATCH", "causes": ["normalizer", "space-after-special"], "header_findings": [], "categories": {"words": [6, 6], "space": [11, 11], "digits": [5, 5], "code": [5, 5], "unicode": [10, 10], "special": [24, 21], "bos-eos": [2, 2]}, "first": {"text": "Hello world", "llama_cpp": [10994, 3186], "hf": [15043, 3186], "first_diff": 0, "cause": "normalizer"}}
{"build": "b12738", "case": "qwen-clean", "vocab": "qwen2", "changed": "nothing (Qwen2 vocabulary with Qwen3's four added tokens named)", "exit": 1, "verdict": "MISMATCH", "causes": ["unicode-normalization"], "header_findings": [{"level": "WARN", "code": "bos-eos", "text": "eos_token_id: GGUF 151643, Hugging Face 151645"}], "categories": {"words": [6, 0], "space": [11, 0], "digits": [5, 0], "code": [5, 0], "unicode": [10, 1], "special": [40, 0], "bos-eos": [2, 0]}, "first": {"text": "é vs é", "llama_cpp": [68, 53839, 6165, 3958], "hf": [963, 6165, 3958], "first_diff": 0, "cause": "unicode-normalization"}}
{"build": "b12738", "case": "qwen-no-pre", "vocab": "qwen2", "changed": "tokenizer.ggml.pre removed", "exit": 1, "verdict": "MISMATCH", "causes": ["pre-missing", "unicode-normalization"], "header_findings": [{"level": "FAIL", "code": "pre-missing", "text": "BPE vocabulary without tokenizer.ggml.pre: llama.cpp uses 'default'"}, {"level": "WARN", "code": "bos-eos", "text": "eos_token_id: GGUF 151643, Hugging Face 151645"}], "categories": {"words": [6, 1], "space": [11, 5], "digits": [5, 1], "code": [5, 5], "unicode": [10, 1], "special": [40, 0], "bos-eos": [2, 0]}, "first": {"text": "I've been told he's there, we'll see", "llama_cpp": [40, 6, 586, 1012, 3229, 566, 6, 82, 1052, 11, 582, 6, 654, 1490], "hf": [40, 3003, 1012, 3229, 566, 594, 1052, 11, 582, 3278, 1490], "first_diff": 1, "cause": "pre-missing"}}
{"build": "b12738", "case": "qwen-pre-default", "vocab": "qwen2", "changed": "tokenizer.ggml.pre = default", "exit": 1, "verdict": "MISMATCH", "causes": ["pre-tokenizer", "unicode-normalization"], "header_findings": [{"level": "WARN", "code": "bos-eos", "text": "eos_token_id: GGUF 151643, Hugging Face 151645"}], "categories": {"words": [6, 1], "space": [11, 5], "digits": [5, 1], "code": [5, 5], "unicode": [10, 1], "special": [40, 0], "bos-eos": [2, 0]}, "first": {"text": "I've been told he's there, we'll see", "llama_cpp": [40, 6, 586, 1012, 3229, 566, 6, 82, 1052, 11, 582, 6, 654, 1490], "hf": [40, 3003, 1012, 3229, 566, 594, 1052, 11, 582, 3278, 1490], "first_diff": 1, "cause": "pre-tokenizer"}}
{"build": "b12738", "case": "qwen-pre-llama-bpe", "vocab": "qwen2", "changed": "tokenizer.ggml.pre = llama-bpe", "exit": 1, "verdict": "MISMATCH", "causes": ["unicode-normalization", "bos-eos"], "header_findings": [{"level": "WARN", "code": "bos-eos", "text": "eos_token_id: GGUF 151643, Hugging Face 151645"}], "categories": {"words": [6, 0], "space": [11, 0], "digits": [5, 0], "code": [5, 0], "unicode": [10, 1], "special": [40, 0], "bos-eos": [2, 2]}, "first": {"text": "Hello world", "llama_cpp": [151643, 9707, 1879], "hf": [9707, 1879], "first_diff": 0, "cause": "bos-eos"}}
{"build": "b12738", "case": "qwen-im-start-normal", "vocab": "qwen2", "changed": "<|im_start|> typed NORMAL instead of CONTROL", "exit": 1, "verdict": "MISMATCH", "causes": ["special-type", "unicode-normalization"], "header_findings": [{"level": "FAIL", "code": "special-type", "text": "1 added token(s) are not CONTROL/USER_DEFINED in the GGUF: 151644 '<|im_start|>'=NORMAL"}, {"level": "WARN", "code": "bos-eos", "text": "eos_token_id: GGUF 151643, Hugging Face 151645"}], "categories": {"words": [6, 0], "space": [11, 0], "digits": [5, 0], "code": [5, 0], "unicode": [10, 1], "special": [40, 8], "bos-eos": [2, 0]}, "first": {"text": "<|im_start|>", "llama_cpp": [27, 91, 318, 4906, 91, 29], "hf": [151644], "first_diff": 0, "cause": "special-type"}}
{"build": "b12738", "case": "qwen-think-normal", "vocab": "qwen2", "changed": "<think> and </think> typed NORMAL instead of USER_DEFINED", "exit": 1, "verdict": "MISMATCH", "causes": ["special-type", "unicode-normalization"], "header_findings": [{"level": "FAIL", "code": "special-type", "text": "2 added token(s) are not CONTROL/USER_DEFINED in the GGUF: 151667 '<think>'=NORMAL, 151668 '</think>'=NORMAL"}, {"level": "WARN", "code": "bos-eos", "text": "eos_token_id: GGUF 151643, Hugging Face 151645"}], "categories": {"words": [6, 0], "space": [11, 0], "digits": [5, 0], "code": [5, 0], "unicode": [10, 1], "special": [48, 16], "bos-eos": [2, 0]}, "first": {"text": "<think>", "llama_cpp": [13708, 766, 29], "hf": [151667], "first_diff": 0, "cause": "special-type"}}
{"build": "b12738", "case": "qwen-add-bos", "vocab": "qwen2", "changed": "add_bos_token = true", "exit": 1, "verdict": "MISMATCH", "causes": ["unicode-normalization", "bos-eos"], "header_findings": [{"level": "WARN", "code": "bos-eos", "text": "eos_token_id: GGUF 151643, Hugging Face 151645"}], "categories": {"words": [6, 0], "space": [11, 0], "digits": [5, 0], "code": [5, 0], "unicode": [10, 1], "special": [40, 0], "bos-eos": [2, 2]}, "first": {"text": "Hello world", "llama_cpp": [151643, 9707, 1879], "hf": [9707, 1879], "first_diff": 0, "cause": "bos-eos"}}
{"build": "b12738", "case": "qwen-vocab-edit", "vocab": "qwen2", "changed": "text of token 9707 changed", "exit": 1, "verdict": "MISMATCH", "causes": ["vocab"], "header_findings": [{"level": "FAIL", "code": "vocab", "text": "1 token texts differ at the same id (GGUF vs HF), e.g. 9707: 'Hullo' vs 'Hello'"}, {"level": "WARN", "code": "bos-eos", "text": "eos_token_id: GGUF 151643, Hugging Face 151645"}], "categories": {"words": [6, 2], "space": [11, 0], "digits": [5, 0], "code": [5, 0], "unicode": [10, 1], "special": [40, 0], "bos-eos": [2, 1]}, "first": {"text": "Hello world", "llama_cpp": [39, 68, 75, 75, 78, 1879], "hf": [9707, 1879], "first_diff": 0, "cause": "vocab"}}
{"build": "b12738", "case": "llama3-as-shipped", "vocab": "llama-bpe", "changed": "nothing (vocab file has no add_bos_token key)", "exit": 0, "verdict": "SAME", "causes": [], "header_findings": [], "categories": {"words": [6, 0], "space": [11, 0], "digits": [5, 0], "code": [5, 0], "unicode": [10, 0], "special": [48, 0], "bos-eos": [2, 0]}, "first": null}
{"build": "b12738", "case": "llama3-add-bos", "vocab": "llama-bpe", "changed": "add_bos_token = true", "exit": 0, "verdict": "SAME", "causes": [], "header_findings": [], "categories": {"words": [6, 0], "space": [11, 0], "digits": [5, 0], "code": [5, 0], "unicode": [10, 0], "special": [48, 0], "bos-eos": [2, 0]}, "first": null}
{"build": "b12738", "case": "llama3-pre-smaug", "vocab": "llama-bpe", "changed": "tokenizer.ggml.pre = smaug-bpe", "exit": 0, "verdict": "SAME", "causes": [], "header_findings": [], "categories": {"words": [6, 0], "space": [11, 0], "digits": [5, 0], "code": [5, 0], "unicode": [10, 0], "special": [48, 0], "bos-eos": [2, 0]}, "first": null}
{"build": "b12738", "case": "llama3-pre-qwen2", "vocab": "llama-bpe", "changed": "tokenizer.ggml.pre = qwen2", "exit": 1, "verdict": "MISMATCH", "causes": ["pre-tokenizer"], "header_findings": [], "categories": {"words": [6, 0], "space": [11, 0], "digits": [5, 4], "code": [5, 0], "unicode": [10, 0], "special": [48, 0], "bos-eos": [2, 0]}, "first": {"text": "1234567", "llama_cpp": [16, 17, 18, 19, 20, 21, 22], "hf": [4513, 10961, 22], "first_diff": 0, "cause": "pre-tokenizer"}}
{"build": "b12738", "case": "spm-as-shipped", "vocab": "llama-spm", "changed": "nothing", "exit": 0, "verdict": "SAME", "causes": [], "header_findings": [], "categories": {"words": [6, 0], "space": [11, 0], "digits": [5, 0], "code": [5, 0], "unicode": [10, 0], "special": [24, 0], "bos-eos": [2, 0]}, "first": null}
{"build": "b12738", "case": "spm-no-space-prefix", "vocab": "llama-spm", "changed": "add_space_prefix = false", "exit": 1, "verdict": "MISMATCH", "causes": ["normalizer", "space-after-special"], "header_findings": [], "categories": {"words": [6, 6], "space": [11, 11], "digits": [5, 5], "code": [5, 5], "unicode": [10, 10], "special": [24, 21], "bos-eos": [2, 2]}, "first": {"text": "Hello world", "llama_cpp": [10994, 3186], "hf": [15043, 3186], "first_diff": 0, "cause": "normalizer"}}
