visualjoyce commited on
Commit
ceeaf6b
·
verified ·
1 Parent(s): dc918c8

Upload folder using huggingface_hub

Browse files
Files changed (2) hide show
  1. config.json +43 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "_name_or_path": "/data/pretrained_models/swin-ocsr-large-patch4-window7-224",
4
+ "ape": false,
5
+ "attn_drop_rate": 0.0,
6
+ "decoder_dim": 256,
7
+ "decoder_num_layer": 6,
8
+ "depths": [
9
+ 2,
10
+ 2,
11
+ 18,
12
+ 2
13
+ ],
14
+ "dim": 256,
15
+ "drop_path_rate": 0.1,
16
+ "drop_rate": 0.0,
17
+ "dropout": 0.1,
18
+ "embed_dim": 192,
19
+ "encoder_num_layer": 6,
20
+ "ff_dim": 2048,
21
+ "img_size": 224,
22
+ "in_chans": 3,
23
+ "initializer_range": 0.02,
24
+ "max_len": 277,
25
+ "mlp_ratio": 4.0,
26
+ "model_type": "swin_ocsr",
27
+ "num_classes": 1000,
28
+ "num_head": 8,
29
+ "num_heads": [
30
+ 6,
31
+ 12,
32
+ 24,
33
+ 48
34
+ ],
35
+ "patch_norm": true,
36
+ "patch_size": 4,
37
+ "qk_scale": null,
38
+ "qkv_bias": true,
39
+ "torch_dtype": "float32",
40
+ "transformers_version": "4.49.0",
41
+ "vocab_size": 79,
42
+ "window_size": 7
43
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6a9ef1f32dd749ea6afbc7094013a4f1a7e01a872291d569177624803c3fe7a9
3
+ size 852957190