File size: 1,799 Bytes
4ed1c50
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1ecce4d
 
4ed1c50
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1ecce4d
 
 
 
4ed1c50
1ecce4d
4ed1c50
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{
  "architectures": [
    "VisionEncoderDecoderModel"
  ],
  "decoder": {
    "activation_dropout": 0.0,
    "activation_function": "gelu",
    "add_cross_attention": true,
    "add_final_layer_norm": true,
    "attention_dropout": 0.0,
    "classifier_dropout": 0.0,
    "d_model": 1024,
    "decoder_attention_heads": 16,
    "decoder_ffn_dim": 4096,
    "decoder_layerdrop": 0.0,
    "decoder_layers": 4,
    "dropout": 0.1,
    "encoder_attention_heads": 16,
    "encoder_ffn_dim": 4096,
    "encoder_layerdrop": 0.0,
    "encoder_layers": 12,
    "init_std": 0.02,
    "is_decoder": true,
    "is_encoder_decoder": false,
    "max_position_embeddings": 1536,
    "model_type": "mbart",
    "num_hidden_layers": 12,
    "scale_embedding": true,
    "torch_dtype": "float32",
    "use_cache": true,
    "vocab_size": 57580
  },
  "decoder_start_token_id": 57579,
  "encoder": {
    "attention_probs_dropout_prob": 0.0,
    "depths": [
      2,
      2,
      14,
      2
    ],
    "drop_path_rate": 0.1,
    "embed_dim": 128,
    "hidden_act": "gelu",
    "hidden_dropout_prob": 0.0,
    "hidden_size": 1024,
    "image_size": [
      2560,
      1920
    ],
    "initializer_range": 0.02,
    "layer_norm_eps": 1e-05,
    "mlp_ratio": 4.0,
    "model_type": "donut-swin",
    "num_channels": 3,
    "num_heads": [
      4,
      8,
      16,
      32
    ],
    "num_layers": 4,
    "patch_size": 4,
    "path_norm": true,
    "qkv_bias": true,
    "torch_dtype": "float32",
    "use_absolute_embeddings": false,
    "window_size": 10
  },
  "image_size": [
    1280,
    960
  ],
  "is_encoder_decoder": true,
  "max_length": null,
  "model_type": "vision-encoder-decoder",
  "pad_token_id": 1,
  "tie_word_embeddings": false,
  "torch_dtype": "float32",
  "transformers_version": "4.51.3"
}