Upload tokenizer
Browse files- special_tokens_map.json +1 -0
- tokenizer.json +0 -4
- tokenizer_config.json +43 -28
special_tokens_map.json
CHANGED
@@ -13,6 +13,7 @@
|
|
13 |
"rstrip": false,
|
14 |
"single_word": false
|
15 |
},
|
|
|
16 |
"unk_token": {
|
17 |
"content": "<unk>",
|
18 |
"lstrip": false,
|
|
|
13 |
"rstrip": false,
|
14 |
"single_word": false
|
15 |
},
|
16 |
+
"pad_token": "</s>",
|
17 |
"unk_token": {
|
18 |
"content": "<unk>",
|
19 |
"lstrip": false,
|
tokenizer.json
CHANGED
@@ -34,10 +34,6 @@
|
|
34 |
"normalizer": {
|
35 |
"type": "Sequence",
|
36 |
"normalizers": [
|
37 |
-
{
|
38 |
-
"type": "Prepend",
|
39 |
-
"prepend": "▁"
|
40 |
-
},
|
41 |
{
|
42 |
"type": "Replace",
|
43 |
"pattern": {
|
|
|
34 |
"normalizer": {
|
35 |
"type": "Sequence",
|
36 |
"normalizers": [
|
|
|
|
|
|
|
|
|
37 |
{
|
38 |
"type": "Replace",
|
39 |
"pattern": {
|
tokenizer_config.json
CHANGED
@@ -1,35 +1,50 @@
|
|
1 |
{
|
2 |
"add_bos_token": true,
|
3 |
"add_eos_token": false,
|
4 |
-
"
|
5 |
-
"
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
},
|
|
|
|
|
|
|
12 |
"clean_up_tokenization_spaces": false,
|
13 |
-
"
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
"
|
18 |
-
"
|
19 |
-
|
20 |
-
|
21 |
-
"
|
22 |
-
"
|
23 |
-
"
|
24 |
-
"
|
25 |
-
"sp_model_kwargs": {},
|
26 |
"tokenizer_class": "LlamaTokenizer",
|
27 |
-
"
|
28 |
-
|
29 |
-
|
30 |
-
"lstrip": false,
|
31 |
-
"normalized": false,
|
32 |
-
"rstrip": false,
|
33 |
-
"single_word": false
|
34 |
-
}
|
35 |
}
|
|
|
1 |
{
|
2 |
"add_bos_token": true,
|
3 |
"add_eos_token": false,
|
4 |
+
"added_tokens_decoder": {
|
5 |
+
"0": {
|
6 |
+
"content": "<unk>",
|
7 |
+
"lstrip": false,
|
8 |
+
"normalized": false,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false,
|
11 |
+
"special": true
|
12 |
+
},
|
13 |
+
"1": {
|
14 |
+
"content": "<s>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": false,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false,
|
19 |
+
"special": true
|
20 |
+
},
|
21 |
+
"2": {
|
22 |
+
"content": "</s>",
|
23 |
+
"lstrip": false,
|
24 |
+
"normalized": false,
|
25 |
+
"rstrip": false,
|
26 |
+
"single_word": false,
|
27 |
+
"special": true
|
28 |
+
}
|
29 |
},
|
30 |
+
"additional_special_tokens": [],
|
31 |
+
"bos_token": "<s>",
|
32 |
+
"chat_template": null,
|
33 |
"clean_up_tokenization_spaces": false,
|
34 |
+
"cls_token": null,
|
35 |
+
"eos_token": "</s>",
|
36 |
+
"mask_token": null,
|
37 |
+
"model_input_names": [
|
38 |
+
"input_ids",
|
39 |
+
"attention_mask"
|
40 |
+
],
|
41 |
+
"model_max_length": 4096,
|
42 |
+
"pad_token": "</s>",
|
43 |
+
"padding_side": "left",
|
44 |
+
"sep_token": null,
|
45 |
+
"split_special_tokens": false,
|
|
|
46 |
"tokenizer_class": "LlamaTokenizer",
|
47 |
+
"truncation_side": "right",
|
48 |
+
"unk_token": "<unk>",
|
49 |
+
"use_default_system_prompt": false
|
|
|
|
|
|
|
|
|
|
|
50 |
}
|