A model package normally expects particular token identifiers and a chat template. Switching the tokenizer can change the meaning of a role marker without changing the visible text.

Compare encoded requests for representative messages and examine how the model ends a response. Keep tokenizer and template references pinned alongside the weights.