Mistral Large 3

Checkpoint tokenizer

×

The tekken tokenizer, the tokenizer configuration and the chat template shipped with the checkpoint.

Unverified: tekken.json’s vocabulary and its token-to-ID mapping. The atlas records the file by its checksum and keeps no copy.

Explanation

With the model card’s --tokenizer_mode mistral, vLLM loads tekken.json through mistral_common (README.md 130); tokenizer_config.json also declares a Hugging Face LlamaTokenizerFast (9017).

Sources

In codetekken.json

Open pinned code ↗

Contextual evidence

The Hugging Face tokenizer configuration declares a LlamaTokenizerFast with <s> as the beginning-of-sequence token, added at the start, and </s> as the end-of-sequence token, and the Pixtral processor.

tokenizer_config.json 1–9020 ↗ · mistralai/Mistral-Large-3-675B-Instruct-2512 @ 383ffea2c7d6

Excerpt
{
  "add_bos_token": true,
  "add_eos_token": false,

… lines 4–9008 omitted …

  "bos_token": "<s>",
  "clean_up_tokenization_spaces": false,
  "eos_token": "</s>",
  "extra_special_tokens": {},
  "legacy": true,
  "model_max_length": 1000000000000000019884624838656,
  "pad_token": "<pad>",
  "processor_class": "PixtralProcessor",
  "tokenizer_class": "LlamaTokenizerFast",
  "unk_token": "<unk>",
  "use_default_system_prompt": false
}

The model card serves the checkpoint with vLLM in Mistral’s formats: tokenizer, configuration and weights (--tokenizer_mode mistral --config_format mistral --load_format mistral).

README.md 127–132 ↗ · mistralai/Mistral-Large-3-675B-Instruct-2512 @ 383ffea2c7d6

Excerpt
```bash
vllm serve mistralai/Mistral-Large-3-675B-Instruct-2512 \
  --max-model-len 262144 --tensor-parallel-size 8 \
  --tokenizer_mode mistral --config_format mistral --load_format mistral \
  --enable-auto-tool-choice --tool-call-parser mistral
```

The chat template opens with the beginning-of-sequence token and a default system prompt in [SYSTEM_PROMPT] … [/SYSTEM_PROMPT] when the conversation has none; a user turn is wrapped in [INST] … [/INST] and an assistant turn ends with the end-of-sequence token.

chat_template.jinja 31–227 ↗ · mistralai/Mistral-Large-3-675B-Instruct-2512 @ 383ffea2c7d6

Excerpt
{#- Begin of sequence token. #}
{{- bos_token }}


{#- Handle system prompt if it exists. #}
{%- set loop_messages = messages %}
{%- if messages[0]['role'] != 'system' and default_system_message != '' %}
    {{- '[SYSTEM_PROMPT]' + default_system_message + '[/SYSTEM_PROMPT]' }}
{%- endif %}

… lines 40–179 omitted …

{#- Handle conversation messages. #}
{%- for message in loop_messages %}
    {#- User messages supports text, image and image_url content. #}
    {%- if message['role'] == 'user' %}
        {%- if not ns.available_tools_emitted %}
            {{- available_tools }}
            {%- set ns.available_tools_emitted = true %}
        {%- endif %}
        {%- if message['content'] is not string and message['content'] %}
            {#- When content has exactly one image and one text block, put image first. #}
            {%- if message['content'] | length == 2 and message['content'][0]['type'] == 'text' and message['content'][1]['type'] in ['image', 'image_url'] %}
                {%- set blocks = [message['content'][1], message['content'][0]] %}
            {%- else %}
                {%- set blocks = message['content'] %}
            {%- endif %}
            {%- set user_content = blocks %}
        {%- else %}
            {%- set user_content = message['content'] %}
        {%- endif %}
        {{- '[INST]' -}}
        {{- render_content(user_content, 'user message content', supported_types_desc='text, image and image_url', support_thinking=false, support_images=true) -}}
        {{- '[/INST]' }}

    {#- Assistant messages supports text and thinking content. #}
    {%- elif message['role'] == 'assistant' %}

… lines 205–226 omitted …

        {{- eos_token }}