config
Browse files- config.json +85 -0
config.json
ADDED
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "contract",
|
20 |
+
"4": "email",
|
21 |
+
"5": "form",
|
22 |
+
"6": "handwritten",
|
23 |
+
"7": "invoice",
|
24 |
+
"8": "letter",
|
25 |
+
"9": "memo",
|
26 |
+
"10": "news_article",
|
27 |
+
"11": "presentation",
|
28 |
+
"12": "questionnaire",
|
29 |
+
"13": "resume",
|
30 |
+
"14": "scientific_publication",
|
31 |
+
"15": "scientific_report",
|
32 |
+
"16": "specification"
|
33 |
+
},
|
34 |
+
"image_size": 224,
|
35 |
+
"initializer_range": 0.02,
|
36 |
+
"intermediate_size": 3072,
|
37 |
+
"label2id": {
|
38 |
+
"advertisement": 0,
|
39 |
+
"budget": 1,
|
40 |
+
"card": 2,
|
41 |
+
"contract": 3,
|
42 |
+
"email": 4,
|
43 |
+
"form": 5,
|
44 |
+
"handwritten": 6,
|
45 |
+
"invoice": 7,
|
46 |
+
"letter": 8,
|
47 |
+
"memo": 9,
|
48 |
+
"news_article": 10,
|
49 |
+
"presentation": 11,
|
50 |
+
"questionnaire": 12,
|
51 |
+
"resume": 13,
|
52 |
+
"scientific_publication": 14,
|
53 |
+
"scientific_report": 15,
|
54 |
+
"specification": 16
|
55 |
+
},
|
56 |
+
"layer_norm_eps": 1e-12,
|
57 |
+
"layer_scale_init_value": 0.1,
|
58 |
+
"model_type": "beit",
|
59 |
+
"num_attention_heads": 12,
|
60 |
+
"num_channels": 3,
|
61 |
+
"num_hidden_layers": 12,
|
62 |
+
"out_indices": [
|
63 |
+
3,
|
64 |
+
5,
|
65 |
+
7,
|
66 |
+
11
|
67 |
+
],
|
68 |
+
"patch_size": 16,
|
69 |
+
"pool_scales": [
|
70 |
+
1,
|
71 |
+
2,
|
72 |
+
3,
|
73 |
+
6
|
74 |
+
],
|
75 |
+
"semantic_loss_ignore_index": 255,
|
76 |
+
"torch_dtype": "float32",
|
77 |
+
"transformers_version": "4.33.0",
|
78 |
+
"use_absolute_position_embeddings": true,
|
79 |
+
"use_auxiliary_head": true,
|
80 |
+
"use_mask_token": true,
|
81 |
+
"use_mean_pooling": true,
|
82 |
+
"use_relative_position_bias": false,
|
83 |
+
"use_shared_relative_position_bias": false,
|
84 |
+
"vocab_size": 8192
|
85 |
+
}
|