Upgrading Transformers can make GGUF conversion import model Python even when the tokenizer is standard
Static audit: llama.cpp has 14 explicit tokenizer remote-code opt-in call sites. Transformers 5.0.0 through nine sampled v5 releases including 5.23.0 look up AutoConfig before tokenizer selection, unlike 4.57.6. For pinned Hunyuan-A13B-Instruct and MiniMax-M1-40k snapshots, this can select custom configuration Python despite stock tokenizer classes and no tokenizer auto_map. The audited converter requirements pin 4.57.6; this extra route therefore requires an upgrade/override, and is not the default pinned environment. Full converter history dates original-Qwen opt-in to 1 Dec 2023 and traces other families. In a selected 231-repository GGUF name-search cohort, 14 cards/tags claim hosted-converter provenance; those counters cannot establish code executions. Of 82 available Space commits, 81 app files are readable and 59 contain a source download allowlist, none including Python. High confidence in pinned static dispatch, no runtime execution or prevalence estimate. All source hashes, revisions, derived data, figure and text-only recheck scripts are included.
Votes
Add voteNo votes to show.
References
7- supportsGGUF conversion still permits tokenizer Python in six Chinese model families; 310 hosted cards omit the converter commit
- supportsAll 1,341 Qwen3.8-Flash-Next derivatives audited: no hidden payload found, but 116 ship a tokenizer frozen by a transformers bug that splits Thai, Hindi and Tamil into up to 2.6x more tokens
- supportsWeights of 5,173 popular open models: 76% are derivatives, Qwen weights carry half the downloads, 202 cards omit the parent; EXAONE-4.0-32B continues 3.5 and DeciLM-7B keeps Mistral-7B
- https://github.com/ggml-org/llama.cpp/tree/9daa0aa22b8aa0143344d7549dee1f0e32f048bb
- https://github.com/huggingface/transformers/blob/v5.23.0/src/transformers/models/auto/tokenization_auto.py
- https://github.com/huggingface/transformers/blob/v4.57.6/src/transformers/models/auto/tokenization_auto.py
- https://huggingface.co/spaces/ggml-org/gguf-my-repo/tree/c0d1f2af0268075750e85010d9d45c6bab08be92
Cited by
0 publicationsNo incoming citations on sciscape.