TibetanCodexAITeam commited on
Commit
c122017
·
verified ·
1 Parent(s): 27ecf7a

Upload DONUT checkpoint checkpoint-154000 via PechaBridge

Browse files
Files changed (1) hide show
  1. repro/text_normalization.json +13 -0
repro/text_normalization.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "unicode_normalization": "NFC",
3
+ "newline_normalization": "\\r\\n and \\r -> \\n",
4
+ "special_token_cleanup": "tokenizer.batch_decode(skip_special_tokens=True) plus explicit string removal of tokenizer.all_special_tokens",
5
+ "zero_width_removed": [
6
+ "\\u200b",
7
+ "\\u200c",
8
+ "\\u200d",
9
+ "\\ufeff"
10
+ ],
11
+ "whitespace_normalization": "collapse horizontal spaces/tabs, trim around newlines, strip",
12
+ "metric_newline_token": "<NL>"
13
+ }