Model update
Browse files- chat_template.jinja +7 -3
- config.json +1 -1
- model-00001-of-00002.safetensors +1 -1
- model-00002-of-00002.safetensors +1 -1
- special_tokens_map.json +1 -5
- tokenizer.json +1 -1
- tokenizer_config.json +7 -14
chat_template.jinja
CHANGED
|
@@ -1,4 +1,8 @@
|
|
| 1 |
-
{{ bos_token }}{% if messages[0]['role'] == 'system' %}{{
|
|
|
|
|
|
|
| 2 |
' + message['content'] | trim + '<end_of_turn>
|
| 3 |
-
'
|
| 4 |
-
'
|
|
|
|
|
|
|
|
|
| 1 |
+
{{ bos_token }}{% if messages[0]['role'] == 'system' %}{{'<start_of_turn>user
|
| 2 |
+
' + messages[0]['content'] | trim + ' ' + messages[1]['content'] | trim + '<end_of_turn>
|
| 3 |
+
'}}{% set messages = messages[2:] %}{% endif %}{% for message in messages %}{% if message['role'] == 'user' %}{{'<start_of_turn>user
|
| 4 |
' + message['content'] | trim + '<end_of_turn>
|
| 5 |
+
'}}{% elif message['role'] == 'assistant' %}{{'<start_of_turn>model
|
| 6 |
+
' + message['content'] | trim + '<end_of_turn>
|
| 7 |
+
' }}{% else %}{{ raise_exception('Only user and assistant roles are supported!') }}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '<start_of_turn>model
|
| 8 |
+
' }}{% endif %}
|
config.json
CHANGED
|
@@ -28,7 +28,7 @@
|
|
| 28 |
"sliding_window": 4096,
|
| 29 |
"torch_dtype": "bfloat16",
|
| 30 |
"transformers_version": "4.52.4",
|
| 31 |
-
"unsloth_version": "2025.6.
|
| 32 |
"use_cache": true,
|
| 33 |
"vocab_size": 256000
|
| 34 |
}
|
|
|
|
| 28 |
"sliding_window": 4096,
|
| 29 |
"torch_dtype": "bfloat16",
|
| 30 |
"transformers_version": "4.52.4",
|
| 31 |
+
"unsloth_version": "2025.6.2",
|
| 32 |
"use_cache": true,
|
| 33 |
"vocab_size": 256000
|
| 34 |
}
|
model-00001-of-00002.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4988025760
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1f2dc7d68efaaf505e4f26864abfb1ad0e8698c1388c4e3cd3c2634f7186e96d
|
| 3 |
size 4988025760
|
model-00002-of-00002.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 240691728
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4e0244ba64ffa0577f407cf327a1ef674e0da77109f1125f1a1740a209475d56
|
| 3 |
size 240691728
|
special_tokens_map.json
CHANGED
|
@@ -1,8 +1,4 @@
|
|
| 1 |
{
|
| 2 |
-
"additional_special_tokens": [
|
| 3 |
-
"<start_of_turn>",
|
| 4 |
-
"<end_of_turn>"
|
| 5 |
-
],
|
| 6 |
"bos_token": {
|
| 7 |
"content": "<bos>",
|
| 8 |
"lstrip": false,
|
|
@@ -11,7 +7,7 @@
|
|
| 11 |
"single_word": false
|
| 12 |
},
|
| 13 |
"eos_token": {
|
| 14 |
-
"content": "<
|
| 15 |
"lstrip": false,
|
| 16 |
"normalized": false,
|
| 17 |
"rstrip": false,
|
|
|
|
| 1 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
"bos_token": {
|
| 3 |
"content": "<bos>",
|
| 4 |
"lstrip": false,
|
|
|
|
| 7 |
"single_word": false
|
| 8 |
},
|
| 9 |
"eos_token": {
|
| 10 |
+
"content": "<end_of_turn>",
|
| 11 |
"lstrip": false,
|
| 12 |
"normalized": false,
|
| 13 |
"rstrip": false,
|
tokenizer.json
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 34362873
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:95a6ecc0c8b61e4f65249a9da9cf0809371813500854cfee2848a793cbdfb19b
|
| 3 |
size 34362873
|
tokenizer_config.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
| 11 |
"special": true
|
| 12 |
},
|
| 13 |
"1": {
|
| 14 |
-
"content": "<
|
| 15 |
"lstrip": false,
|
| 16 |
"normalized": false,
|
| 17 |
"rstrip": false,
|
|
@@ -859,7 +859,7 @@
|
|
| 859 |
"special": true
|
| 860 |
},
|
| 861 |
"107": {
|
| 862 |
-
"content": "<
|
| 863 |
"lstrip": false,
|
| 864 |
"normalized": false,
|
| 865 |
"rstrip": false,
|
|
@@ -1995,24 +1995,17 @@
|
|
| 1995 |
"special": false
|
| 1996 |
}
|
| 1997 |
},
|
| 1998 |
-
"additional_special_tokens": [
|
| 1999 |
-
"<start_of_turn>",
|
| 2000 |
-
"<end_of_turn>"
|
| 2001 |
-
],
|
| 2002 |
"bos_token": "<bos>",
|
| 2003 |
"clean_up_tokenization_spaces": false,
|
| 2004 |
-
"eos_token": "<
|
| 2005 |
"extra_special_tokens": {},
|
| 2006 |
-
"max_length":
|
| 2007 |
"model_max_length": 8192,
|
| 2008 |
"pad_token": "<pad>",
|
| 2009 |
-
"padding_side": "
|
| 2010 |
-
"sp_model_kwargs": {},
|
| 2011 |
-
"spaces_between_special_tokens": false,
|
| 2012 |
"stride": 0,
|
| 2013 |
-
"tokenizer_class": "
|
| 2014 |
"truncation_side": "right",
|
| 2015 |
"truncation_strategy": "longest_first",
|
| 2016 |
-
"unk_token": "<unk>"
|
| 2017 |
-
"use_default_system_prompt": false
|
| 2018 |
}
|
|
|
|
| 11 |
"special": true
|
| 12 |
},
|
| 13 |
"1": {
|
| 14 |
+
"content": "<end_of_turn>",
|
| 15 |
"lstrip": false,
|
| 16 |
"normalized": false,
|
| 17 |
"rstrip": false,
|
|
|
|
| 859 |
"special": true
|
| 860 |
},
|
| 861 |
"107": {
|
| 862 |
+
"content": "<eos>",
|
| 863 |
"lstrip": false,
|
| 864 |
"normalized": false,
|
| 865 |
"rstrip": false,
|
|
|
|
| 1995 |
"special": false
|
| 1996 |
}
|
| 1997 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1998 |
"bos_token": "<bos>",
|
| 1999 |
"clean_up_tokenization_spaces": false,
|
| 2000 |
+
"eos_token": "<end_of_turn>",
|
| 2001 |
"extra_special_tokens": {},
|
| 2002 |
+
"max_length": 1024,
|
| 2003 |
"model_max_length": 8192,
|
| 2004 |
"pad_token": "<pad>",
|
| 2005 |
+
"padding_side": "left",
|
|
|
|
|
|
|
| 2006 |
"stride": 0,
|
| 2007 |
+
"tokenizer_class": "GemmaTokenizerFast",
|
| 2008 |
"truncation_side": "right",
|
| 2009 |
"truncation_strategy": "longest_first",
|
| 2010 |
+
"unk_token": "<unk>"
|
|
|
|
| 2011 |
}
|