File size: 2,129 Bytes
4174976 b906d26 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | {
"audio_token": "<audio_soft_token>",
"backend": "tokenizers",
"boa_token": "<start_of_audio>",
"boi_token": "<start_of_image>",
"bos_token": "<bos>",
"clean_up_tokenization_spaces": false,
"eoa_token": "<end_of_audio>",
"eoi_token": "<end_of_image>",
"eos_token": "<eos>",
"image_token": "<image_soft_token>",
"mask_token": "<mask>",
"model_max_length": 1000000000000000019884624838656,
"model_specific_special_tokens": {
"audio_token": "<audio_soft_token>",
"boa_token": "<start_of_audio>",
"boi_token": "<start_of_image>",
"eoa_token": "<end_of_audio>",
"eoi_token": "<end_of_image>",
"image_token": "<image_soft_token>"
},
"pad_token": "<pad>",
"processor_class": "Gemma3nProcessor",
"sp_model_kwargs": null,
"spaces_between_special_tokens": false,
"tokenizer_class": "GemmaTokenizer",
"unk_token": "<unk>",
"use_default_system_prompt": false,
"chat_template": "{%- for message in messages -%}{%- if message.role == 'developer' or message.role == 'system' -%}<start_of_turn>developer\n{{ message.content }}{%- if tools is defined and tools|length > 0 %}\n\nAvailable tools:{%- for tool in tools %}\n<start_function_declaration>{%- if tool.function is defined %}{{ tool.function | tojson }}{%- else %}{{ tool | tojson }}{%- endif %}<end_function_declaration>{%- endfor %}{%- endif %}<end_of_turn>\n{%- elif message.role == 'user' -%}<start_of_turn>user\n{{ message.content }}<end_of_turn>\n{%- elif message.role == 'model' or message.role == 'assistant' -%}<start_of_turn>model\n{%- if message.tool_calls is defined and message.tool_calls -%}{%- for tc in message.tool_calls -%}<start_function_call>call:{{ tc.function.name }}{{ '{' }}{%- for k, v in tc.function.arguments.items() -%}{{ k }}:<escape>{{ v }}<escape>{%- if not loop.last %},{% endif -%}{%- endfor -%}{{ '}' }}<end_function_call>{%- endfor -%}{%- else -%}{{ message.content }}{%- endif -%}<end_of_turn>\n{%- elif message.role == 'tool' -%}<start_of_turn>tool\n{{ message.content }}<end_of_turn>\n{%- endif -%}{%- endfor -%}{%- if add_generation_prompt -%}<start_of_turn>model\n{%- endif -%}"
} |