Iheb-Chaabane
commited on
Commit
•
2d0f01f
1
Parent(s):
df280b0
feat add pad_token
Browse files- special_tokens_map.json +7 -0
- tokenizer.json +2 -2
- tokenizer_config.json +2 -1
special_tokens_map.json
CHANGED
@@ -30,5 +30,12 @@
|
|
30 |
"normalized": false,
|
31 |
"rstrip": false,
|
32 |
"single_word": false
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
}
|
34 |
}
|
|
|
30 |
"normalized": false,
|
31 |
"rstrip": false,
|
32 |
"single_word": false
|
33 |
+
},
|
34 |
+
"pad_token": {
|
35 |
+
"content": "<|pad|>",
|
36 |
+
"lstrip": false,
|
37 |
+
"normalized": false,
|
38 |
+
"rstrip": false,
|
39 |
+
"single_word": false
|
40 |
}
|
41 |
}
|
tokenizer.json
CHANGED
@@ -18212,7 +18212,7 @@
|
|
18212 |
},
|
18213 |
{
|
18214 |
"id": 2023,
|
18215 |
-
"content": "
|
18216 |
"single_word": false,
|
18217 |
"lstrip": false,
|
18218 |
"rstrip": false,
|
@@ -20280,7 +20280,7 @@
|
|
20280 |
">>UNUSED_1894<<": 2020,
|
20281 |
">>UNUSED_1895<<": 2021,
|
20282 |
">>UNUSED_1896<<": 2022,
|
20283 |
-
"
|
20284 |
"!": 2024,
|
20285 |
"\"": 2025,
|
20286 |
"#": 2026,
|
|
|
18212 |
},
|
18213 |
{
|
18214 |
"id": 2023,
|
18215 |
+
"content": "<|pad|>",
|
18216 |
"single_word": false,
|
18217 |
"lstrip": false,
|
18218 |
"rstrip": false,
|
|
|
20280 |
">>UNUSED_1894<<": 2020,
|
20281 |
">>UNUSED_1895<<": 2021,
|
20282 |
">>UNUSED_1896<<": 2022,
|
20283 |
+
"<|pad|>": 2023,
|
20284 |
"!": 2024,
|
20285 |
"\"": 2025,
|
20286 |
"#": 2026,
|
tokenizer_config.json
CHANGED
@@ -16186,7 +16186,7 @@
|
|
16186 |
"special": true
|
16187 |
},
|
16188 |
"2023": {
|
16189 |
-
"content": "
|
16190 |
"lstrip": false,
|
16191 |
"normalized": false,
|
16192 |
"rstrip": false,
|
@@ -16227,5 +16227,6 @@
|
|
16227 |
"attention_mask"
|
16228 |
],
|
16229 |
"model_max_length": 32768,
|
|
|
16230 |
"tokenizer_class": "PreTrainedTokenizerFast"
|
16231 |
}
|
|
|
16186 |
"special": true
|
16187 |
},
|
16188 |
"2023": {
|
16189 |
+
"content": "<|pad|>",
|
16190 |
"lstrip": false,
|
16191 |
"normalized": false,
|
16192 |
"rstrip": false,
|
|
|
16227 |
"attention_mask"
|
16228 |
],
|
16229 |
"model_max_length": 32768,
|
16230 |
+
"pad_token": "<|pad|>",
|
16231 |
"tokenizer_class": "PreTrainedTokenizerFast"
|
16232 |
}
|