| { | |
| "backend": "tokenizers", | |
| "boi_token": "<start_of_image>", | |
| "bos_token": "<bos>", | |
| "clean_up_tokenization_spaces": false, | |
| "eoi_token": "<end_of_image>", | |
| "eos_token": "<eos>", | |
| "image_token": "<image_soft_token>", | |
| "is_local": true, | |
| "mask_token": "<mask>", | |
| "model_max_length": 1000000000000000019884624838656, | |
| "model_specific_special_tokens": { | |
| "boi_token": "<start_of_image>", | |
| "eoi_token": "<end_of_image>", | |
| "image_token": "<image_soft_token>", | |
| "sfr_token": "<start_function_response>" | |
| }, | |
| "pad_token": "<pad>", | |
| "padding_side": "left", | |
| "response_schema": { | |
| "properties": { | |
| "content": { | |
| "type": "string", | |
| "x-regex": "^\\s*(?:<start_function_call>.*?<end_function_call>|<start_function_response>|<end_of_turn>|\\s+)*((?:(?!<start_function_call>|<start_function_response>|<end_of_turn>).)+)(?:<start_function_call>.*?<end_function_call>|<start_function_response>|<end_of_turn>|\\s+)*$" | |
| }, | |
| "role": { | |
| "const": "assistant" | |
| }, | |
| "tool_calls": { | |
| "items": { | |
| "properties": { | |
| "function": { | |
| "properties": { | |
| "arguments": { | |
| "additionalProperties": { | |
| "x-parser": "json", | |
| "x-parser-args": { | |
| "allow_non_json": true | |
| } | |
| }, | |
| "type": "object", | |
| "x-regex-key-value": "\\{(?P<key>\\w+):(?P<value>.*)\\}" | |
| }, | |
| "name": { | |
| "type": "string", | |
| "x-regex": "call:([^\\{]*)" | |
| } | |
| }, | |
| "type": "object", | |
| "x-mapping-regex": { | |
| "\\<escape\\>": "\"" | |
| } | |
| }, | |
| "type": { | |
| "const": "function" | |
| } | |
| }, | |
| "type": "object" | |
| }, | |
| "type": "array", | |
| "x-regex-iterator": "\\<start_function_call\\>(.*?)(?:\\<end_function_call\\>)" | |
| } | |
| }, | |
| "type": "object" | |
| }, | |
| "sfr_token": "<start_function_response>", | |
| "sp_model_kwargs": null, | |
| "spaces_between_special_tokens": false, | |
| "tokenizer_class": "GemmaTokenizer", | |
| "unk_token": "<unk>", | |
| "use_default_system_prompt": false | |
| } | |