OleehyO commited on
Commit
ae6fc38
1 Parent(s): 4e06f3f

Upload folder using huggingface_hub

Browse files
Files changed (6) hide show
  1. config.json +3 -3
  2. merges.txt +0 -0
  3. model.safetensors +2 -2
  4. pytorch_model.bin +2 -2
  5. tokenizer.json +0 -0
  6. vocab.json +0 -0
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "/home/lhy/code/TexTeller_release/src/models/ocr_model/model_checkpoint",
3
  "architectures": [
4
  "VisionEncoderDecoderModel"
5
  ],
@@ -45,7 +45,7 @@
45
  "layernorm_embedding": true,
46
  "length_penalty": 1.0,
47
  "max_length": 20,
48
- "max_position_embeddings": 512,
49
  "min_length": 0,
50
  "model_type": "trocr",
51
  "no_repeat_ngram_size": 0,
@@ -80,7 +80,7 @@
80
  "use_bfloat16": false,
81
  "use_cache": true,
82
  "use_learned_position_embeddings": true,
83
- "vocab_size": 10000
84
  },
85
  "encoder": {
86
  "_name_or_path": "",
 
1
  {
2
+ "_name_or_path": "/home/lhy/code/TexTeller/src/models/ocr_model/train/train_result/TexTellerv2/checkpoint-288000",
3
  "architectures": [
4
  "VisionEncoderDecoderModel"
5
  ],
 
45
  "layernorm_embedding": true,
46
  "length_penalty": 1.0,
47
  "max_length": 20,
48
+ "max_position_embeddings": 1024,
49
  "min_length": 0,
50
  "model_type": "trocr",
51
  "no_repeat_ngram_size": 0,
 
80
  "use_bfloat16": false,
81
  "use_cache": true,
82
  "use_learned_position_embeddings": true,
83
+ "vocab_size": 15000
84
  },
85
  "encoder": {
86
  "_name_or_path": "",
merges.txt CHANGED
The diff for this file is too large to render. See raw diff
 
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:fc0d6561e56e5d18c84ef60aadc284ac84080e8a45de1733dd7defc9284dc290
3
- size 1198318464
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:206c3cfd16a6a524cc711b521591c8d3a3ee1a8320399d0c4257f0d93d6a1e57
3
+ size 1220895656
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9b6c218729a1fdc56197b4ff5bdf3cb0bbcb6d252f8fe43053b18b19de95d9c8
3
- size 1198427490
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ffdcc82c0dcb30ec5482c29f8cf67a5a1da92058401abfc9d74fbf6711b48762
3
+ size 1221004642
tokenizer.json CHANGED
The diff for this file is too large to render. See raw diff
 
vocab.json CHANGED
The diff for this file is too large to render. See raw diff