rohit5895 commited on
Commit
b99ed5a
·
verified ·
1 Parent(s): 33ebe88

Upload model

Browse files
Files changed (2) hide show
  1. config.json +3 -4
  2. pytorch_model.bin +1 -1
config.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
- "_commit_hash": "3c8ead8dfda428d914334169380bb546f770a300",
3
- "_name_or_path": "microsoft/trocr-large-stage1",
4
  "architectures": [
5
  "VisionEncoderDecoderModel"
6
  ],
@@ -16,7 +16,7 @@
16
  "bos_token_id": 0,
17
  "chunk_size_feed_forward": 0,
18
  "classifier_dropout": 0.0,
19
- "cross_attention_hidden_size": null,
20
  "d_model": 1024,
21
  "decoder_attention_heads": 16,
22
  "decoder_ffn_dim": 4096,
@@ -27,7 +27,6 @@
27
  "do_sample": false,
28
  "dropout": 0.1,
29
  "early_stopping": false,
30
- "encoder_hidden_size": 1024,
31
  "encoder_no_repeat_ngram_size": 0,
32
  "eos_token_id": 2,
33
  "exponential_decay_length_penalty": null,
 
1
  {
2
+ "_commit_hash": "b2a847ab533f72a555acd201a3235ff41b5dfbd3",
3
+ "_name_or_path": "microsoft/trocr-large-printed",
4
  "architectures": [
5
  "VisionEncoderDecoderModel"
6
  ],
 
16
  "bos_token_id": 0,
17
  "chunk_size_feed_forward": 0,
18
  "classifier_dropout": 0.0,
19
+ "cross_attention_hidden_size": 1024,
20
  "d_model": 1024,
21
  "decoder_attention_heads": 16,
22
  "decoder_ffn_dim": 4096,
 
27
  "do_sample": false,
28
  "dropout": 0.1,
29
  "early_stopping": false,
 
30
  "encoder_no_repeat_ngram_size": 0,
31
  "eos_token_id": 2,
32
  "exponential_decay_length_penalty": null,
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6441200b8a644a4f7422f47403ccba72d77716ad839356c27a440183ff2797e4
3
  size 2436889529
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0d076d4e3eece3b1a9397899f2453156e1cb1760b948b64628d8d751499a8ef1
3
  size 2436889529