dangthinhhung commited on
Commit
056e421
1 Parent(s): 15bd222

Upload 3 files

Browse files
Files changed (3) hide show
  1. config.json +87 -0
  2. preprocessor_config.json +20 -0
  3. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "microsoft/dit-base",
3
+ "architectures": [
4
+ "BeitForImageClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "auxiliary_channels": 256,
8
+ "auxiliary_concat_input": false,
9
+ "auxiliary_loss_weight": 0.4,
10
+ "auxiliary_num_convs": 1,
11
+ "drop_path_rate": 0.1,
12
+ "hidden_act": "gelu",
13
+ "hidden_dropout_prob": 0.0,
14
+ "hidden_size": 768,
15
+ "id2label": {
16
+ "0": "advertisement",
17
+ "1": "budget",
18
+ "2": "card",
19
+ "3": "certificate",
20
+ "4": "contract",
21
+ "5": "email",
22
+ "6": "form",
23
+ "7": "handwritten",
24
+ "8": "invoice",
25
+ "9": "letter",
26
+ "10": "news_article",
27
+ "11": "presentation",
28
+ "12": "questionnaire",
29
+ "13": "receipt",
30
+ "14": "resume",
31
+ "15": "scientific_publication",
32
+ "16": "scientific_report",
33
+ "17": "specification"
34
+ },
35
+ "image_size": 224,
36
+ "initializer_range": 0.02,
37
+ "intermediate_size": 3072,
38
+ "label2id": {
39
+ "advertisement": 0,
40
+ "budget": 1,
41
+ "card": 2,
42
+ "certificate": 3,
43
+ "contract": 4,
44
+ "email": 5,
45
+ "form": 6,
46
+ "handwritten": 7,
47
+ "invoice": 8,
48
+ "letter": 9,
49
+ "news_article": 10,
50
+ "presentation": 11,
51
+ "questionnaire": 12,
52
+ "receipt": 13,
53
+ "resume": 14,
54
+ "scientific_publication": 15,
55
+ "scientific_report": 16,
56
+ "specification": 17
57
+ },
58
+ "layer_norm_eps": 1e-12,
59
+ "layer_scale_init_value": 0.1,
60
+ "model_type": "beit",
61
+ "num_attention_heads": 12,
62
+ "num_channels": 3,
63
+ "num_hidden_layers": 12,
64
+ "out_indices": [
65
+ 3,
66
+ 5,
67
+ 7,
68
+ 11
69
+ ],
70
+ "patch_size": 16,
71
+ "pool_scales": [
72
+ 1,
73
+ 2,
74
+ 3,
75
+ 6
76
+ ],
77
+ "semantic_loss_ignore_index": 255,
78
+ "torch_dtype": "float32",
79
+ "transformers_version": "4.33.0",
80
+ "use_absolute_position_embeddings": true,
81
+ "use_auxiliary_head": true,
82
+ "use_mask_token": true,
83
+ "use_mean_pooling": true,
84
+ "use_relative_position_bias": false,
85
+ "use_shared_relative_position_bias": false,
86
+ "vocab_size": 8192
87
+ }
preprocessor_config.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": 224,
3
+ "do_center_crop": false,
4
+ "do_normalize": true,
5
+ "do_resize": true,
6
+ "feature_extractor_type": "BeitFeatureExtractor",
7
+ "image_mean": [
8
+ 0.5,
9
+ 0.5,
10
+ 0.5
11
+ ],
12
+ "image_std": [
13
+ 0.5,
14
+ 0.5,
15
+ 0.5
16
+ ],
17
+ "reduce_labels": false,
18
+ "resample": 2,
19
+ "size": 224
20
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:251de74de88fac5649920362b965cbacf69eb1de57a36ab7d0a55e0f593e56c6
3
+ size 343362081