nielsr HF staff commited on
Commit
afe6c76
1 Parent(s): d235960

Update model

Browse files
Files changed (2) hide show
  1. tokenizer.json +16 -2
  2. tokenizer_config.json +2 -2
tokenizer.json CHANGED
@@ -1,7 +1,21 @@
1
  {
2
  "version": "1.0",
3
- "truncation": null,
4
- "padding": null,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": 1000000000000000019884624838656,
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": "PreTrainedTokenizerFast",
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
  }