Update tokenizer_config.json
Browse files- tokenizer_config.json +24 -11
tokenizer_config.json
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
{
|
|
|
|
|
2 |
"added_tokens_decoder": {
|
3 |
"0": {
|
4 |
"content": "<unk>",
|
@@ -23,26 +25,37 @@
|
|
23 |
"rstrip": false,
|
24 |
"single_word": false,
|
25 |
"special": true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
}
|
27 |
},
|
28 |
-
"additional_special_tokens": [
|
29 |
-
"<unk>",
|
30 |
-
"<s>",
|
31 |
-
"</s>"
|
32 |
-
],
|
33 |
"bos_token": "<s>",
|
|
|
34 |
"clean_up_tokenization_spaces": false,
|
35 |
-
"eos_token": "
|
36 |
"legacy": true,
|
37 |
"model_max_length": 1000000000000000019884624838656,
|
38 |
-
"pad_token":
|
39 |
-
"padding_side": "left",
|
40 |
"sp_model_kwargs": {},
|
41 |
"spaces_between_special_tokens": false,
|
42 |
-
"split_special_tokens": false,
|
43 |
"tokenizer_class": "LlamaTokenizer",
|
|
|
44 |
"unk_token": "<unk>",
|
45 |
"use_default_system_prompt": true,
|
46 |
-
"
|
47 |
-
|
48 |
}
|
|
|
1 |
{
|
2 |
+
"add_bos_token": true,
|
3 |
+
"add_eos_token": false,
|
4 |
"added_tokens_decoder": {
|
5 |
"0": {
|
6 |
"content": "<unk>",
|
|
|
25 |
"rstrip": false,
|
26 |
"single_word": false,
|
27 |
"special": true
|
28 |
+
},
|
29 |
+
"32000": {
|
30 |
+
"content": "<|im_end|>",
|
31 |
+
"lstrip": false,
|
32 |
+
"normalized": false,
|
33 |
+
"rstrip": false,
|
34 |
+
"single_word": false,
|
35 |
+
"special": true
|
36 |
+
},
|
37 |
+
"32001": {
|
38 |
+
"content": "<|im_start|>",
|
39 |
+
"lstrip": false,
|
40 |
+
"normalized": false,
|
41 |
+
"rstrip": false,
|
42 |
+
"single_word": false,
|
43 |
+
"special": true
|
44 |
}
|
45 |
},
|
46 |
+
"additional_special_tokens": [],
|
|
|
|
|
|
|
|
|
47 |
"bos_token": "<s>",
|
48 |
+
"chat_template": "{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}"
|
49 |
"clean_up_tokenization_spaces": false,
|
50 |
+
"eos_token": "<|im_end|>",
|
51 |
"legacy": true,
|
52 |
"model_max_length": 1000000000000000019884624838656,
|
53 |
+
"pad_token": null,
|
|
|
54 |
"sp_model_kwargs": {},
|
55 |
"spaces_between_special_tokens": false,
|
|
|
56 |
"tokenizer_class": "LlamaTokenizer",
|
57 |
+
"trust_remote_code": false,
|
58 |
"unk_token": "<unk>",
|
59 |
"use_default_system_prompt": true,
|
60 |
+
"use_fast": true
|
|
|
61 |
}
|