Upload model
Browse files- config.json +1 -1
- generation_config.json +2 -1
- pytorch_model.bin +2 -2
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_commit_hash":
|
3 |
"_name_or_path": "microsoft/trocr-base-handwritten",
|
4 |
"architectures": [
|
5 |
"VisionEncoderDecoderModel"
|
|
|
1 |
{
|
2 |
+
"_commit_hash": null,
|
3 |
"_name_or_path": "microsoft/trocr-base-handwritten",
|
4 |
"architectures": [
|
5 |
"VisionEncoderDecoderModel"
|
generation_config.json
CHANGED
@@ -1,8 +1,9 @@
|
|
1 |
{
|
2 |
"_from_model_config": true,
|
3 |
"bos_token_id": 0,
|
4 |
-
"decoder_start_token_id":
|
5 |
"eos_token_id": 2,
|
|
|
6 |
"pad_token_id": 1,
|
7 |
"transformers_version": "4.26.1",
|
8 |
"use_cache": false
|
|
|
1 |
{
|
2 |
"_from_model_config": true,
|
3 |
"bos_token_id": 0,
|
4 |
+
"decoder_start_token_id": 0,
|
5 |
"eos_token_id": 2,
|
6 |
+
"max_length": 64,
|
7 |
"pad_token_id": 1,
|
8 |
"transformers_version": "4.26.1",
|
9 |
"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:820ca7604c24cf36a5704b3455c40fd228f51031398e6c5d155984e4e7039552
|
3 |
+
size 1335847946
|