update
Browse files- special_tokens_map.json +7 -1
- tokenizer.json +1 -3
- tokenizer_config.json +7 -0
special_tokens_map.json
CHANGED
@@ -13,7 +13,13 @@
|
|
13 |
"rstrip": false,
|
14 |
"single_word": false
|
15 |
},
|
16 |
-
"pad_token":
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
"unk_token": {
|
18 |
"content": "<|endoftext|>",
|
19 |
"lstrip": false,
|
|
|
13 |
"rstrip": false,
|
14 |
"single_word": false
|
15 |
},
|
16 |
+
"pad_token": {
|
17 |
+
"content": "<|endoftext|>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": true,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
"unk_token": {
|
24 |
"content": "<|endoftext|>",
|
25 |
"lstrip": false,
|
tokenizer.json
CHANGED
@@ -7,9 +7,7 @@
|
|
7 |
"stride": 0
|
8 |
},
|
9 |
"padding": {
|
10 |
-
"strategy":
|
11 |
-
"Fixed": 512
|
12 |
-
},
|
13 |
"direction": "Right",
|
14 |
"pad_to_multiple_of": null,
|
15 |
"pad_id": 0,
|
|
|
7 |
"stride": 0
|
8 |
},
|
9 |
"padding": {
|
10 |
+
"strategy": "BatchLongest",
|
|
|
|
|
11 |
"direction": "Right",
|
12 |
"pad_to_multiple_of": null,
|
13 |
"pad_id": 0,
|
tokenizer_config.json
CHANGED
@@ -16,8 +16,15 @@
|
|
16 |
"eos_token": "<|endoftext|>",
|
17 |
"errors": "replace",
|
18 |
"max_len": 512,
|
|
|
19 |
"model_max_length": 512,
|
|
|
20 |
"pad_token": "<|endoftext|>",
|
|
|
|
|
|
|
21 |
"tokenizer_class": "GPT2Tokenizer",
|
|
|
|
|
22 |
"unk_token": "<|endoftext|>"
|
23 |
}
|
|
|
16 |
"eos_token": "<|endoftext|>",
|
17 |
"errors": "replace",
|
18 |
"max_len": 512,
|
19 |
+
"max_length": 512,
|
20 |
"model_max_length": 512,
|
21 |
+
"pad_to_multiple_of": null,
|
22 |
"pad_token": "<|endoftext|>",
|
23 |
+
"pad_token_type_id": 0,
|
24 |
+
"padding_side": "right",
|
25 |
+
"stride": 0,
|
26 |
"tokenizer_class": "GPT2Tokenizer",
|
27 |
+
"truncation_side": "right",
|
28 |
+
"truncation_strategy": "longest_first",
|
29 |
"unk_token": "<|endoftext|>"
|
30 |
}
|