shivarama23
commited on
Commit
•
697a80e
1
Parent(s):
38b3530
Upload config.json
Browse files- config.json +56 -0
config.json
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "bad",
|
17 |
+
"1": "good"
|
18 |
+
},
|
19 |
+
"image_size": 224,
|
20 |
+
"initializer_range": 0.02,
|
21 |
+
"intermediate_size": 3072,
|
22 |
+
"label2id": {
|
23 |
+
"bad": 0,
|
24 |
+
"good": 1
|
25 |
+
},
|
26 |
+
"layer_norm_eps": 1e-12,
|
27 |
+
"layer_scale_init_value": 0.1,
|
28 |
+
"model_type": "beit",
|
29 |
+
"num_attention_heads": 12,
|
30 |
+
"num_channels": 3,
|
31 |
+
"num_hidden_layers": 12,
|
32 |
+
"out_indices": [
|
33 |
+
3,
|
34 |
+
5,
|
35 |
+
7,
|
36 |
+
11
|
37 |
+
],
|
38 |
+
"patch_size": 16,
|
39 |
+
"pool_scales": [
|
40 |
+
1,
|
41 |
+
2,
|
42 |
+
3,
|
43 |
+
6
|
44 |
+
],
|
45 |
+
"problem_type": "single_label_classification",
|
46 |
+
"semantic_loss_ignore_index": 255,
|
47 |
+
"torch_dtype": "float32",
|
48 |
+
"transformers_version": "4.20.1",
|
49 |
+
"use_absolute_position_embeddings": true,
|
50 |
+
"use_auxiliary_head": true,
|
51 |
+
"use_mask_token": true,
|
52 |
+
"use_mean_pooling": true,
|
53 |
+
"use_relative_position_bias": false,
|
54 |
+
"use_shared_relative_position_bias": false,
|
55 |
+
"vocab_size": 8192
|
56 |
+
}
|