DeepMount00/Lexora-Medium-7B
52.2k
1{2 "add_bos_token": false,3 "add_eos_token": true,4 "add_prefix_space": false,5 "added_tokens_decoder": {6 "151643": {7 "content": "<|endoftext|>",8 "lstrip": false,9 "normalized": false,10 "rstrip": false,11 "single_word": false,12 "special": true13 },14 "151644": {15 "content": "<|im_start|>",16 "lstrip": false,17 "normalized": false,18 "rstrip": false,19 "single_word": false,20 "special": true21 },22 "151645": {23 "content": "<|im_end|>",24 "lstrip": false,25 "normalized": false,26 "rstrip": false,27 "single_word": false,28 "special": true29 },30 "151646": {31 "content": "<|object_ref_start|>",32 "lstrip": false,33 "normalized": false,34 "rstrip": false,35 "single_word": false,36 "special": true37 },38 "151647": {39 "content": "<|object_ref_end|>",40 "lstrip": false,41 "normalized": false,42 "rstrip": false,43 "single_word": false,44 "special": true45 },46 "151648": {47 "content": "<|box_start|>",48 "lstrip": false,49 "normalized": false,50 "rstrip": false,51 "single_word": false,52 "special": true53 },54 "151649": {55 "content": "<|box_end|>",56 "lstrip": false,57 "normalized": false,58 "rstrip": false,59 "single_word": false,60 "special": true61 },62 "151650": {63 "content": "<|quad_start|>",64 "lstrip": false,65 "normalized": false,66 "rstrip": false,67 "single_word": false,68 "special": true69 },70 "151651": {71 "content": "<|quad_end|>",72 "lstrip": false,73 "normalized": false,74 "rstrip": false,75 "single_word": false,76 "special": true77 },78 "151652": {79 "content": "<|vision_start|>",80 "lstrip": false,81 "normalized": false,82 "rstrip": false,83 "single_word": false,84 "special": true85 },86 "151653": {87 "content": "<|vision_end|>",88 "lstrip": false,89 "normalized": false,90 "rstrip": false,91 "single_word": false,92 "special": true93 },94 "151654": {95 "content": "<|vision_pad|>",96 "lstrip": false,97 "normalized": false,98 "rstrip": false,99 "single_word": false,100 "special": true101 },102 "151655": {103 "content": "<|image_pad|>",104 "lstrip": false,105 "normalized": false,106 "rstrip": false,107 "single_word": false,108 "special": true109 },110 "151656": {111 "content": "<|video_pad|>",112 "lstrip": false,113 "normalized": false,114 "rstrip": false,115 "single_word": false,116 "special": true117 },118 "151657": {119 "content": "<tool_call>",120 "lstrip": false,121 "normalized": false,122 "rstrip": false,123 "single_word": false,124 "special": false125 },126 "151658": {127 "content": "</tool_call>",128 "lstrip": false,129 "normalized": false,130 "rstrip": false,131 "single_word": false,132 "special": false133 },134 "151659": {135 "content": "<|fim_prefix|>",136 "lstrip": false,137 "normalized": false,138 "rstrip": false,139 "single_word": false,140 "special": false141 },142 "151660": {143 "content": "<|fim_middle|>",144 "lstrip": false,145 "normalized": false,146 "rstrip": false,147 "single_word": false,148 "special": false149 },150 "151661": {151 "content": "<|fim_suffix|>",152 "lstrip": false,153 "normalized": false,154 "rstrip": false,155 "single_word": false,156 "special": false157 },158 "151662": {159 "content": "<|fim_pad|>",160 "lstrip": false,161 "normalized": false,162 "rstrip": false,163 "single_word": false,164 "special": false165 },166 "151663": {167 "content": "<|repo_name|>",168 "lstrip": false,169 "normalized": false,170 "rstrip": false,171 "single_word": false,172 "special": false173 },174 "151664": {175 "content": "<|file_sep|>",176 "lstrip": false,177 "normalized": false,178 "rstrip": false,179 "single_word": false,180 "special": false181 }182 },183 "additional_special_tokens": [184 "<|im_start|>",185 "<|im_end|>",186 "<|object_ref_start|>",187 "<|object_ref_end|>",188 "<|box_start|>",189 "<|box_end|>",190 "<|quad_start|>",191 "<|quad_end|>",192 "<|vision_start|>",193 "<|vision_end|>",194 "<|vision_pad|>",195 "<|image_pad|>",196 "<|video_pad|>"197 ],198 "bos_token": null,199 "chat_template": "{%- if tools %}\n {{- '<|im_start|>system\\n' }}\n {%- if messages[0]['role'] == 'system' %}\n {{- messages[0]['content'] }}\n {%- else %}\n {{- 'You are a helpful assistant.' }}\n {%- endif %}\n {{- \"\\n\\n# Tools\\n\\nYou may call one or more functions to assist with the user query.\\n\\nYou are provided with function signatures within <tools></tools> XML tags:\\n<tools>\" }}\n {%- for tool in tools %}\n {{- \"\\n\" }}\n {{- tool | tojson }}\n {%- endfor %}\n {{- \"\\n</tools>\\n\\nFor 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><|im_end|>\\n\" }}\n{%- else %}\n {%- if messages[0]['role'] == 'system' %}\n {{- '<|im_start|>system\\n' + messages[0]['content'] + '<|im_end|>\\n' }}\n {%- else %}\n {{- '<|im_start|>system\\nYou are a helpful assistant.<|im_end|>\\n' }}\n {%- endif %}\n{%- endif %}\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 + '<|im_end|>' + '\\n' }}\n {%- elif message.role == \"assistant\" %}\n {{- '<|im_start|>' + message.role }}\n {%- if message.content %}\n {{- '\\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 {{- '\\n<tool_call>\\n{\"name\": \"' }}\n {{- tool_call.name }}\n {{- '\", \"arguments\": ' }}\n {{- tool_call.arguments | tojson }}\n {{- '}\\n</tool_call>' }}\n {%- endfor %}\n {{- '<|im_end|>\\n' }}\n {%- elif message.role == \"tool\" %}\n {%- if (loop.index0 == 0) or (messages[loop.index0 - 1].role != \"tool\") %}\n {{- '<|im_start|>user' }}\n {%- endif %}\n {{- '\\n<tool_response>\\n' }}\n {{- message.content }}\n {{- '\\n</tool_response>' }}\n {%- if loop.last or (messages[loop.index0 + 1].role != \"tool\") %}\n {{- '<|im_end|>\\n' }}\n {%- endif %}\n {%- endif %}\n{%- endfor %}\n{%- if add_generation_prompt %}\n {{- '<|im_start|>assistant\\n' }}\n{%- endif %}\n",200 "clean_up_tokenization_spaces": false,201 "eos_token": "<|endoftext|>",202 "errors": "replace",203 "max_length": 4096,204 "model_max_length": 131072,205 "pad_token": "<|endoftext|>",206 "padding_side": "left",207 "split_special_tokens": false,208 "stride": 0,209 "tokenizer_class": "Qwen2Tokenizer",210 "truncation_side": "right",211 "truncation_strategy": "longest_first",212 "unk_token": null213}214 