Upload model trained with Unsloth
Browse filesUpload model trained with Unsloth 2x faster
- chat_template.jinja +3 -0
- special_tokens_map.json +8 -2
- tokenizer.json +2 -2
- tokenizer_config.json +3 -3
chat_template.jinja
CHANGED
|
@@ -139,6 +139,9 @@ declaration:{{- tool_data['function']['name'] -}}
|
|
| 139 |
{%- endfor -%}
|
| 140 |
{%- endif -%}
|
| 141 |
{%- set loop_messages = messages[1:] -%}
|
|
|
|
|
|
|
|
|
|
| 142 |
{%- endif -%}
|
| 143 |
{%- if tools -%}
|
| 144 |
{%- for tool in tools %}
|
|
|
|
| 139 |
{%- endfor -%}
|
| 140 |
{%- endif -%}
|
| 141 |
{%- set loop_messages = messages[1:] -%}
|
| 142 |
+
{%- else -%}
|
| 143 |
+
{{- 'You are a model that can do function calling with the following functions' -}}
|
| 144 |
+
{%- set loop_messages = messages -%}
|
| 145 |
{%- endif -%}
|
| 146 |
{%- if tools -%}
|
| 147 |
{%- for tool in tools %}
|
special_tokens_map.json
CHANGED
|
@@ -9,14 +9,20 @@
|
|
| 9 |
},
|
| 10 |
"eoi_token": "<end_of_image>",
|
| 11 |
"eos_token": {
|
| 12 |
-
"content": "<
|
| 13 |
"lstrip": false,
|
| 14 |
"normalized": false,
|
| 15 |
"rstrip": false,
|
| 16 |
"single_word": false
|
| 17 |
},
|
| 18 |
"image_token": "<image_soft_token>",
|
| 19 |
-
"pad_token":
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
"sfr_token": "<start_function_response>",
|
| 21 |
"unk_token": {
|
| 22 |
"content": "<unk>",
|
|
|
|
| 9 |
},
|
| 10 |
"eoi_token": "<end_of_image>",
|
| 11 |
"eos_token": {
|
| 12 |
+
"content": "<end_of_turn>",
|
| 13 |
"lstrip": false,
|
| 14 |
"normalized": false,
|
| 15 |
"rstrip": false,
|
| 16 |
"single_word": false
|
| 17 |
},
|
| 18 |
"image_token": "<image_soft_token>",
|
| 19 |
+
"pad_token": {
|
| 20 |
+
"content": "<pad>",
|
| 21 |
+
"lstrip": false,
|
| 22 |
+
"normalized": false,
|
| 23 |
+
"rstrip": false,
|
| 24 |
+
"single_word": false
|
| 25 |
+
},
|
| 26 |
"sfr_token": "<start_function_response>",
|
| 27 |
"unk_token": {
|
| 28 |
"content": "<unk>",
|
tokenizer.json
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b6b09a0b4a803ad453063ca4bb49a784540e8120004e2450e025df2b27d41fb2
|
| 3 |
+
size 33384899
|
tokenizer_config.json
CHANGED
|
@@ -51335,7 +51335,7 @@
|
|
| 51335 |
"bos_token": "<bos>",
|
| 51336 |
"clean_up_tokenization_spaces": false,
|
| 51337 |
"eoi_token": "<end_of_image>",
|
| 51338 |
-
"eos_token": "<
|
| 51339 |
"extra_special_tokens": {
|
| 51340 |
"boi_token": "<start_of_image>",
|
| 51341 |
"eoi_token": "<end_of_image>",
|
|
@@ -51343,8 +51343,8 @@
|
|
| 51343 |
"sfr_token": "<start_function_response>"
|
| 51344 |
},
|
| 51345 |
"image_token": "<image_soft_token>",
|
| 51346 |
-
"model_max_length":
|
| 51347 |
-
"pad_token": "<
|
| 51348 |
"padding_side": "left",
|
| 51349 |
"sfr_token": "<start_function_response>",
|
| 51350 |
"sp_model_kwargs": null,
|
|
|
|
| 51335 |
"bos_token": "<bos>",
|
| 51336 |
"clean_up_tokenization_spaces": false,
|
| 51337 |
"eoi_token": "<end_of_image>",
|
| 51338 |
+
"eos_token": "<end_of_turn>",
|
| 51339 |
"extra_special_tokens": {
|
| 51340 |
"boi_token": "<start_of_image>",
|
| 51341 |
"eoi_token": "<end_of_image>",
|
|
|
|
| 51343 |
"sfr_token": "<start_function_response>"
|
| 51344 |
},
|
| 51345 |
"image_token": "<image_soft_token>",
|
| 51346 |
+
"model_max_length": 32768,
|
| 51347 |
+
"pad_token": "<pad>",
|
| 51348 |
"padding_side": "left",
|
| 51349 |
"sfr_token": "<start_function_response>",
|
| 51350 |
"sp_model_kwargs": null,
|