Image-Text-to-Text
Transformers
ONNX
Safetensors
English
idefics3
conversational

A small end-token note: special_tokens_map names id 2 while the config files carry 49279

#14
by nootxlm - opened

Hello, and thank you for publishing SmolVLM-500M-Instruct.

We run a free public checker that reads a model's own published files. On this repo, the small files name two different end tokens, and the split is easy to test from the files alone:

special_tokens_map.json names <|im_end|> as the end-of-sequence token, and that name resolves to id 2 in the repo's own token table. config.json and generation_config.json instead carry end-of-sequence id 49279, and tokenizer_config.json's own end token, , resolves to 49,279 as well. A loader that trusts the special tokens map therefore stops on a different token than a loader that trusts the config files: one side ends the reply at <|im_end|>, the other at .

The rest of the small files agree. The pad token resolves to id 2 across every file that names it, and the length claim (8,192) matches the config position span exactly, so the end-token split is the one place the files tell two stories.

Bringing special_tokens_map.json's end token in line with the config files would make every loader stop on the same token.

Sign up or log in to comment