Checkpoint tokenizer
×no parametersAutoTokenizer.from_pretrained(ckpt_path)
The vocabulary, merge rules and chat template shipped with the checkpoint.
Unverified: the files’ contents and their token-to-ID mapping, which the pinned sources do not include.
Explanation
The reference generator loads them from the checkpoint directory with Hugging Face AutoTokenizer (generate.py 117).
Codegenerate.py 117, 150
tokenizer = AutoTokenizer.from_pretrained(ckpt_path) prompt_tokens = [tokenizer.apply_chat_template([{"role": "user", "content": prompt}], add_generation_prompt=True) for prompt in prompts]Sources1
Contextual evidence
The reference generator loads the checkpoint’s tokenizer with Hugging Face AutoTokenizer and encodes each prompt through its chat template. The tokenizer’s vocabulary and rules ship with the checkpoint; these sources do not include them.
tokenizer · deepseek-ai/DeepSeek-V3.2-Exp / inference/generate.py
Pinned revision 87e509a2e5a1 ↗ · lines 117–150
Read code excerpt
tokenizer = AutoTokenizer.from_pretrained(ckpt_path)… lines 118–149 omitted …
prompt_tokens = [tokenizer.apply_chat_template([{"role": "user", "content": prompt}], add_generation_prompt=True) for prompt in prompts]