Upload folder using huggingface_hub
Browse files- config.json +3 -3
- merges.txt +0 -0
- model.safetensors +2 -2
- pytorch_model.bin +2 -2
- tokenizer.json +0 -0
- vocab.json +0 -0
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "/home/lhy/code/
|
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":
|
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":
|
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:
|
3 |
-
size
|
|
|
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:
|
3 |
-
size
|
|
|
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
|
|