vikp commited on
Commit
54dff43
1 Parent(s): 4fc186d

Upload model

Browse files
Files changed (2) hide show
  1. config.json +40 -0
  2. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "DonutSwinModel"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.0,
6
+ "depths": [
7
+ 2,
8
+ 2,
9
+ 14,
10
+ 2
11
+ ],
12
+ "drop_path_rate": 0.1,
13
+ "embed_dim": 128,
14
+ "hidden_act": "gelu",
15
+ "hidden_dropout_prob": 0.0,
16
+ "hidden_size": 1024,
17
+ "image_size": [
18
+ 2560,
19
+ 1920
20
+ ],
21
+ "initializer_range": 0.02,
22
+ "layer_norm_eps": 1e-05,
23
+ "mlp_ratio": 4.0,
24
+ "model_type": "donut-swin",
25
+ "num_channels": 3,
26
+ "num_heads": [
27
+ 4,
28
+ 8,
29
+ 16,
30
+ 32
31
+ ],
32
+ "num_layers": 4,
33
+ "patch_size": 4,
34
+ "path_norm": true,
35
+ "qkv_bias": true,
36
+ "torch_dtype": "float32",
37
+ "transformers_version": "4.36.2",
38
+ "use_absolute_embeddings": false,
39
+ "window_size": 10
40
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ad687912b504b57f22d53ccac97088326f06ec52b4044b19bb4f447b49096cda
3
+ size 298368248