Skip to content

Commit 841e629

Browse files
justinchubyCopilot
andauthored
Record final GGUF tokenizer artifact blockers (#684)
## Summary - Bind the final seven `tokenizer-artifact-evidence` routes to three immutable GGUF headers and official tokenizer revisions. - Record network-free ordered vocabulary, merge/type, added/special token, pipeline/config/chat-template, multilingual/adversarial tokenization, detokenization, materialized identity, alias-dispatch, and discriminator evidence. - Keep all three semantic groups fail-closed and move them to `tokenizer-compiled-semantics`; no production tokenizer route is enabled. ## Artifact-scoped outcomes - `bailingmoe`, `bailingmoe2`, `llada-moe`: official NFC normalization diverges from pinned BAILINGMOE on decomposed `e\u0301` (6 tokenization and 6 detokenization mismatches across 465 cases). - `chatglm-bpe`, `glm4`: pinned CHATGLM4 splits apostrophe-space-CJK differently, drops a leading space while detokenizing token 659, and disagrees on 7 added-token types (6 tokenization and 33 detokenization mismatches). - `cohere2moe`, `tiny_aya`: pinned TINY_AYA splits tab-space differently and disagrees on 23 added-token types (14 tokenization mismatches; detokenization matches). The selected immutable artifacts total 15,796,167,008 bytes, leaving 1,383,702,176 bytes below the 16 GiB cap. Downloaded qualification payloads were removed after committing the bounded 11 MiB evidence archive. ## Validation - Focused evidence/generated-doc suite: 55 passed. - Broad serial suite: 8,883 passed, 64 skipped, 12 deselected. - Full lintrunner: clean. - GGUF docs and independent pinned llama.cpp oracle regeneration checks: clean. - Independent high-effort review completed; all three findings were corrected before final validation. Signed-off-by: Justin Chu <[email protected]> Co-authored-by: Copilot App <[email protected]>
1 parent 4543476 commit 841e629

13 files changed

Lines changed: 3193 additions & 20 deletions

‎.gitattributes‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
tests/data/gguf_minicpm_tokenizer_oracle.json text eol=lf
22
tests/data/gguf_gemma4_tokenizer_oracle.json text eol=lf
33
tests/data/gguf_gemma4_qualification_inputs.tar.xz binary
4+
tests/data/gguf_tokenizer_artifact_evidence.json text eol=lf
5+
tests/data/gguf_tokenizer_artifact_inputs.tar.xz binary

‎docs/api/build_from_gguf.md‎

Lines changed: 13 additions & 10 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)