Upload model
Browse files- config.json +3 -3
- generation_config.json +1 -5
- pytorch_model.bin +2 -2
config.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
-
"_commit_hash": "
|
3 |
-
"_name_or_path": "
|
4 |
"architectures": [
|
5 |
"VisionEncoderDecoderModel"
|
6 |
],
|
@@ -167,7 +167,7 @@
|
|
167 |
},
|
168 |
"eos_token_id": 2,
|
169 |
"is_encoder_decoder": true,
|
170 |
-
"max_length":
|
171 |
"model_type": "vision-encoder-decoder",
|
172 |
"no_repeat_ngram_size": 3,
|
173 |
"num_beams": 5,
|
|
|
1 |
{
|
2 |
+
"_commit_hash": "0cc7abaad739c7902dabd562356c7e6a7be834ea",
|
3 |
+
"_name_or_path": "microsoft/trocr-base-handwritten",
|
4 |
"architectures": [
|
5 |
"VisionEncoderDecoderModel"
|
6 |
],
|
|
|
167 |
},
|
168 |
"eos_token_id": 2,
|
169 |
"is_encoder_decoder": true,
|
170 |
+
"max_length": 200,
|
171 |
"model_type": "vision-encoder-decoder",
|
172 |
"no_repeat_ngram_size": 3,
|
173 |
"num_beams": 5,
|
generation_config.json
CHANGED
@@ -1,12 +1,8 @@
|
|
1 |
{
|
2 |
"_from_model_config": true,
|
3 |
"bos_token_id": 0,
|
4 |
-
"decoder_start_token_id":
|
5 |
-
"early_stopping": true,
|
6 |
"eos_token_id": 2,
|
7 |
-
"max_length": 32,
|
8 |
-
"no_repeat_ngram_size": 3,
|
9 |
-
"num_beams": 5,
|
10 |
"pad_token_id": 1,
|
11 |
"transformers_version": "4.26.1",
|
12 |
"use_cache": false
|
|
|
1 |
{
|
2 |
"_from_model_config": true,
|
3 |
"bos_token_id": 0,
|
4 |
+
"decoder_start_token_id": 2,
|
|
|
5 |
"eos_token_id": 2,
|
|
|
|
|
|
|
6 |
"pad_token_id": 1,
|
7 |
"transformers_version": "4.26.1",
|
8 |
"use_cache": false
|
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:a906574d4f4bb7055e5ec2c97a442e4dfda0c28978b10c028ce1567952b01f23
|
3 |
+
size 1335854221
|