A small length note: the tokenizer claims 40,960,000 while the config span is 196,608

#65
by nootxlm - opened

Hello, and thank you for publishing MiniMax-M2.

We run a free public checker that reads a model's own published files, and on this repo the small files disagree on one number: how long an input the model can take.

tokenizer_config.json claims model_max_length 40,960,000. config.json's own position span (max_position_embeddings) is 196,608, and the config carries no rope_scaling entry that would extend it — so the tokenizer claims 208.33x the span the model ships, and a stack that trusts the tokenizer will feed inputs far past the positions the config describes.

You can see it in a moment, from the files alone: read model_max_length in tokenizer_config.json beside max_position_embeddings in config.json. The rest of the small files agree with each other — the eos token resolves to id 200,020 in the files that name it, and the decode-cleanup setting is off — which leaves this length claim as the one place they part ways.

Setting the tokenizer's claim to the config span would let every loader read the same limit from either file.

Sign up or log in to comment