Upload model
Browse files- config.json +5 -4
- generation_config.json +1 -2
- pytorch_model.bin +3 -0
config.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
| 1 |
{
|
|
|
|
| 2 |
"_name_or_path": "MixTex/ZhEn-Latex-OCR",
|
| 3 |
"architectures": [
|
| 4 |
"VisionEncoderDecoderModel"
|
| 5 |
],
|
| 6 |
"decoder": {
|
| 7 |
-
"_attn_implementation_autoset": false,
|
| 8 |
"_name_or_path": "roberta",
|
| 9 |
"add_cross_attention": true,
|
| 10 |
"architectures": [
|
|
@@ -78,6 +78,7 @@
|
|
| 78 |
"top_p": 1.0,
|
| 79 |
"torch_dtype": "float32",
|
| 80 |
"torchscript": false,
|
|
|
|
| 81 |
"type_vocab_size": 1,
|
| 82 |
"typical_p": 1.0,
|
| 83 |
"use_bfloat16": false,
|
|
@@ -86,7 +87,6 @@
|
|
| 86 |
},
|
| 87 |
"decoder_start_token_id": 0,
|
| 88 |
"encoder": {
|
| 89 |
-
"_attn_implementation_autoset": false,
|
| 90 |
"_name_or_path": "microsoft/swin-tiny-patch4-window7-224",
|
| 91 |
"add_cross_attention": false,
|
| 92 |
"architectures": [
|
|
@@ -189,6 +189,7 @@
|
|
| 189 |
"top_p": 1.0,
|
| 190 |
"torch_dtype": "float32",
|
| 191 |
"torchscript": false,
|
|
|
|
| 192 |
"typical_p": 1.0,
|
| 193 |
"use_absolute_embeddings": false,
|
| 194 |
"use_bfloat16": false,
|
|
@@ -196,11 +197,11 @@
|
|
| 196 |
},
|
| 197 |
"eos_token_id": 25678,
|
| 198 |
"is_encoder_decoder": true,
|
| 199 |
-
"max_length":
|
| 200 |
"model_type": "vision-encoder-decoder",
|
| 201 |
"pad_token_id": 1,
|
| 202 |
"tie_word_embeddings": false,
|
| 203 |
"torch_dtype": "float32",
|
| 204 |
-
"transformers_version": "4.
|
| 205 |
"vocab_size": 25681
|
| 206 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"_commit_hash": "37da0497956ac97f0a81f4da001f000d5295b77c",
|
| 3 |
"_name_or_path": "MixTex/ZhEn-Latex-OCR",
|
| 4 |
"architectures": [
|
| 5 |
"VisionEncoderDecoderModel"
|
| 6 |
],
|
| 7 |
"decoder": {
|
|
|
|
| 8 |
"_name_or_path": "roberta",
|
| 9 |
"add_cross_attention": true,
|
| 10 |
"architectures": [
|
|
|
|
| 78 |
"top_p": 1.0,
|
| 79 |
"torch_dtype": "float32",
|
| 80 |
"torchscript": false,
|
| 81 |
+
"transformers_version": "4.32.0.dev0",
|
| 82 |
"type_vocab_size": 1,
|
| 83 |
"typical_p": 1.0,
|
| 84 |
"use_bfloat16": false,
|
|
|
|
| 87 |
},
|
| 88 |
"decoder_start_token_id": 0,
|
| 89 |
"encoder": {
|
|
|
|
| 90 |
"_name_or_path": "microsoft/swin-tiny-patch4-window7-224",
|
| 91 |
"add_cross_attention": false,
|
| 92 |
"architectures": [
|
|
|
|
| 189 |
"top_p": 1.0,
|
| 190 |
"torch_dtype": "float32",
|
| 191 |
"torchscript": false,
|
| 192 |
+
"transformers_version": "4.32.0.dev0",
|
| 193 |
"typical_p": 1.0,
|
| 194 |
"use_absolute_embeddings": false,
|
| 195 |
"use_bfloat16": false,
|
|
|
|
| 197 |
},
|
| 198 |
"eos_token_id": 25678,
|
| 199 |
"is_encoder_decoder": true,
|
| 200 |
+
"max_length": 296,
|
| 201 |
"model_type": "vision-encoder-decoder",
|
| 202 |
"pad_token_id": 1,
|
| 203 |
"tie_word_embeddings": false,
|
| 204 |
"torch_dtype": "float32",
|
| 205 |
+
"transformers_version": "4.42.4",
|
| 206 |
"vocab_size": 25681
|
| 207 |
}
|
generation_config.json
CHANGED
|
@@ -2,7 +2,6 @@
|
|
| 2 |
"_from_model_config": true,
|
| 3 |
"bos_token_id": 0,
|
| 4 |
"eos_token_id": 2,
|
| 5 |
-
"max_length": 296,
|
| 6 |
"pad_token_id": 1,
|
| 7 |
-
"transformers_version": "4.
|
| 8 |
}
|
|
|
|
| 2 |
"_from_model_config": true,
|
| 3 |
"bos_token_id": 0,
|
| 4 |
"eos_token_id": 2,
|
|
|
|
| 5 |
"pad_token_id": 1,
|
| 6 |
+
"transformers_version": "4.32.0.dev0"
|
| 7 |
}
|
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ab1acba2f840686106b915aa65ebe04cd0f5e63689804531eed9a9c38f0be728
|
| 3 |
+
size 343951985
|