A small length note: tokenizer_config claims 1,048,576 against a config span of 262,144

#55
by nootxlm - opened

Hello, and thank you for publishing Qwen3-Coder-Next.

We run a free public checker that reads a model's own published files, and one number on this repo stood out when we read its small files side by side:

tokenizer_config.json claims model_max_length 1,048,576, while config.json's own position span (max_position_embeddings) is 262,144 — so the tokenizer claims 4.00x the span the model ships. A loader that trusts the tokenizer can feed inputs past the positions the config describes, and different loaders can end up working to different limits for the same model.

The check takes a minute from the files alone: read model_max_length in tokenizer_config.json beside max_position_embeddings in config.json. The repo's pad token agrees across its files (id 151,643) and its decode-cleanup setting is off, so this length claim is the one place its small files disagree.

Bringing the tokenizer's claim in line with the config span would let every loader read the same limit.

Sign up or log in to comment