Commit
•
27f6747
1
Parent(s):
9698520
Upload model trained with Unsloth
Browse filesUpload model trained with Unsloth 2x faster
- special_tokens_map.json +1 -1
- tokenizer.json +0 -9
- tokenizer_config.json +5 -19
special_tokens_map.json
CHANGED
@@ -14,7 +14,7 @@
|
|
14 |
"single_word": false
|
15 |
},
|
16 |
"pad_token": {
|
17 |
-
"content": "
|
18 |
"lstrip": false,
|
19 |
"normalized": false,
|
20 |
"rstrip": false,
|
|
|
14 |
"single_word": false
|
15 |
},
|
16 |
"pad_token": {
|
17 |
+
"content": "<unk>",
|
18 |
"lstrip": false,
|
19 |
"normalized": false,
|
20 |
"rstrip": false,
|
tokenizer.json
CHANGED
@@ -29,15 +29,6 @@
|
|
29 |
"rstrip": false,
|
30 |
"normalized": false,
|
31 |
"special": true
|
32 |
-
},
|
33 |
-
{
|
34 |
-
"id": 32000,
|
35 |
-
"content": "[PAD]",
|
36 |
-
"single_word": false,
|
37 |
-
"lstrip": false,
|
38 |
-
"rstrip": false,
|
39 |
-
"normalized": false,
|
40 |
-
"special": true
|
41 |
}
|
42 |
],
|
43 |
"normalizer": {
|
|
|
29 |
"rstrip": false,
|
30 |
"normalized": false,
|
31 |
"special": true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
}
|
33 |
],
|
34 |
"normalizer": {
|
tokenizer_config.json
CHANGED
@@ -25,34 +25,20 @@
|
|
25 |
"rstrip": false,
|
26 |
"single_word": false,
|
27 |
"special": true
|
28 |
-
},
|
29 |
-
"32000": {
|
30 |
-
"content": "[PAD]",
|
31 |
-
"lstrip": false,
|
32 |
-
"normalized": false,
|
33 |
-
"rstrip": false,
|
34 |
-
"single_word": false,
|
35 |
-
"special": true
|
36 |
}
|
37 |
},
|
38 |
"additional_special_tokens": [],
|
39 |
"bos_token": "<s>",
|
40 |
-
"chat_template":
|
41 |
"clean_up_tokenization_spaces": false,
|
42 |
-
"cls_token": null,
|
43 |
"eos_token": "</s>",
|
44 |
-
"
|
45 |
-
"model_input_names": [
|
46 |
-
"input_ids",
|
47 |
-
"attention_mask"
|
48 |
-
],
|
49 |
"model_max_length": 32768,
|
50 |
-
"pad_token": "
|
51 |
"padding_side": "left",
|
52 |
-
"
|
53 |
-
"
|
54 |
"tokenizer_class": "LlamaTokenizer",
|
55 |
-
"truncation_side": "right",
|
56 |
"unk_token": "<unk>",
|
57 |
"use_default_system_prompt": false
|
58 |
}
|
|
|
25 |
"rstrip": false,
|
26 |
"single_word": false,
|
27 |
"special": true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
}
|
29 |
},
|
30 |
"additional_special_tokens": [],
|
31 |
"bos_token": "<s>",
|
32 |
+
"chat_template": "{{ bos_token }}{% for message in messages %}{% if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}{{ raise_exception('Conversation roles must alternate user/assistant/user/assistant/...') }}{% endif %}{% if message['role'] == 'user' %}{{ '[INST] ' + message['content'] + ' [/INST]' }}{% elif message['role'] == 'assistant' %}{{ message['content'] + eos_token}}{% else %}{{ raise_exception('Only user and assistant roles are supported!') }}{% endif %}{% endfor %}",
|
33 |
"clean_up_tokenization_spaces": false,
|
|
|
34 |
"eos_token": "</s>",
|
35 |
+
"legacy": true,
|
|
|
|
|
|
|
|
|
36 |
"model_max_length": 32768,
|
37 |
+
"pad_token": "<unk>",
|
38 |
"padding_side": "left",
|
39 |
+
"sp_model_kwargs": {},
|
40 |
+
"spaces_between_special_tokens": false,
|
41 |
"tokenizer_class": "LlamaTokenizer",
|
|
|
42 |
"unk_token": "<unk>",
|
43 |
"use_default_system_prompt": false
|
44 |
}
|