Update model
Browse files- tokenizer.json +16 -2
- tokenizer_config.json +2 -2
tokenizer.json
CHANGED
|
@@ -1,7 +1,21 @@
|
|
| 1 |
{
|
| 2 |
"version": "1.0",
|
| 3 |
-
"truncation":
|
| 4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
"added_tokens": [
|
| 6 |
{
|
| 7 |
"id": 0,
|
|
|
|
| 1 |
{
|
| 2 |
"version": "1.0",
|
| 3 |
+
"truncation": {
|
| 4 |
+
"direction": "Right",
|
| 5 |
+
"max_length": 3584,
|
| 6 |
+
"strategy": "LongestFirst",
|
| 7 |
+
"stride": 0
|
| 8 |
+
},
|
| 9 |
+
"padding": {
|
| 10 |
+
"strategy": {
|
| 11 |
+
"Fixed": 3584
|
| 12 |
+
},
|
| 13 |
+
"direction": "Right",
|
| 14 |
+
"pad_to_multiple_of": null,
|
| 15 |
+
"pad_id": 1,
|
| 16 |
+
"pad_type_id": 0,
|
| 17 |
+
"pad_token": "<pad>"
|
| 18 |
+
},
|
| 19 |
"added_tokens": [
|
| 20 |
{
|
| 21 |
"id": 0,
|
tokenizer_config.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
| 1 |
{
|
| 2 |
"clean_up_tokenization_spaces": true,
|
| 3 |
"max_length": 3584,
|
| 4 |
-
"model_max_length":
|
| 5 |
"pad_to_multiple_of": null,
|
| 6 |
"pad_token": "<pad>",
|
| 7 |
"pad_token_type_id": 0,
|
| 8 |
"padding_side": "right",
|
| 9 |
"processor_class": "DonutProcessor",
|
| 10 |
"stride": 0,
|
| 11 |
-
"tokenizer_class": "
|
| 12 |
"truncation_side": "right",
|
| 13 |
"truncation_strategy": "longest_first"
|
| 14 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"clean_up_tokenization_spaces": true,
|
| 3 |
"max_length": 3584,
|
| 4 |
+
"model_max_length": 3584,
|
| 5 |
"pad_to_multiple_of": null,
|
| 6 |
"pad_token": "<pad>",
|
| 7 |
"pad_token_type_id": 0,
|
| 8 |
"padding_side": "right",
|
| 9 |
"processor_class": "DonutProcessor",
|
| 10 |
"stride": 0,
|
| 11 |
+
"tokenizer_class": "NougatTokenizer",
|
| 12 |
"truncation_side": "right",
|
| 13 |
"truncation_strategy": "longest_first"
|
| 14 |
}
|