| { | |
| "add_bos_token": false, | |
| "add_eos_token": false, | |
| "add_prefix_space": false, | |
| "added_tokens_decoder": { | |
| "0": { | |
| "content": "<|endoftext|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "1": { | |
| "content": "<|padding|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "50254": { | |
| "content": " ", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": false | |
| }, | |
| "50255": { | |
| "content": " ", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": false | |
| }, | |
| "50256": { | |
| "content": " ", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": false | |
| }, | |
| "50257": { | |
| "content": " ", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": false | |
| }, | |
| "50258": { | |
| "content": " ", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": false | |
| }, | |
| "50259": { | |
| "content": " ", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": false | |
| }, | |
| "50260": { | |
| "content": " ", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": false | |
| }, | |
| "50261": { | |
| "content": " ", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": false | |
| }, | |
| "50262": { | |
| "content": " ", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": false | |
| }, | |
| "50263": { | |
| "content": " ", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": false | |
| }, | |
| "50264": { | |
| "content": " ", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": false | |
| }, | |
| "50265": { | |
| "content": " ", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": false | |
| }, | |
| "50266": { | |
| "content": " ", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": false | |
| }, | |
| "50267": { | |
| "content": " ", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": false | |
| }, | |
| "50268": { | |
| "content": " ", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": false | |
| }, | |
| "50269": { | |
| "content": " ", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": false | |
| }, | |
| "50270": { | |
| "content": " ", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": false | |
| }, | |
| "50271": { | |
| "content": " ", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": false | |
| }, | |
| "50272": { | |
| "content": " ", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": false | |
| }, | |
| "50273": { | |
| "content": " ", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": false | |
| }, | |
| "50274": { | |
| "content": " ", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": false | |
| }, | |
| "50275": { | |
| "content": " ", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": false | |
| }, | |
| "50276": { | |
| "content": " ", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": false | |
| } | |
| }, | |
| "bos_token": "<|endoftext|>", | |
| "chat_template": "\n{%- if tools %}\n <|im_start|>system\n {%- if messages[0]['role'] == 'system' %}\n {{ messages[0]['content'] }}\n {%- else %}\n You are Mamba. You are a helpful assistant.\n {%- endif %}\n <|im_end|>\n <|im_start|>system\n # Tools\n \n You may call one or more functions to assist with the user query.\n You are provided with function signatures within <tools></tools> XML tags:\n <tools>\n {%- for tool in tools %}\n {{ tool | tojson }}\n {%- endfor %}\n </tools>\n \n For each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n <tool_call>\n {\"name\": <function-name>, \"arguments\": <args-json-object>}\n </tool_call>\n <|im_end|>\n{%- else %}\n {%- if messages[0]['role'] == 'system' %}\n <|im_start|>system\n {{ messages[0]['content'] }}\n <|im_end|>\n {%- else %}\n <|im_start|>system\n You are Mamba. You are a helpful assistant.\n <|im_end|>\n {%- endif %}\n{%- endif %}\n\n{%- for message in messages %}\n {%- if (message.role == \"user\") or (message.role == \"system\" and not loop.first) or (message.role == \"assistant\" and not message.tool_calls) %}\n <|im_start|>{{ message.role }}\n {{ message.content }}\n <|im_end|>\n {%- elif message.role == \"assistant\" %}\n <|im_start|>assistant\n {%- if message.content %}\n {{ message.content }}\n {%- endif %}\n {%- for tool_call in message.tool_calls %}\n {%- if tool_call.function is defined %}\n {%- set tool_call = tool_call.function %}\n {%- endif %}\n <tool_call>\n {\"name\": \"{{ tool_call.name }}\", \"arguments\": {{ tool_call.arguments | tojson }}}\n </tool_call>\n {%- endfor %}\n <|im_end|>\n {%- elif message.role == \"tool\" %}\n {%- if loop.index0 == 0 or messages[loop.index0 - 1].role != \"tool\" %}\n <|im_start|>user\n {%- endif %}\n <tool_response>\n {{ message.content }}\n </tool_response>\n {%- if loop.last or messages[loop.index0 + 1].role != \"tool\" %}\n <|im_end|>\n {%- endif %}\n {%- endif %}\n{%- endfor %}\n\n{%- if add_generation_prompt %}\n <|im_start|>assistant\n{%- endif %}\n", | |
| "clean_up_tokenization_spaces": false, | |
| "eos_token": "<|endoftext|>", | |
| "extra_special_tokens": {}, | |
| "model_max_length": 1000000000000000019884624838656, | |
| "pad_token": "<|endoftext|>", | |
| "tokenizer_class": "GPTNeoXTokenizer", | |
| "unk_token": "<|endoftext|>" | |
| } | |