AkshatSurolia
commited on
Commit
•
dd4b9c3
1
Parent(s):
548f67f
Upload config.json
Browse files- config.json +56 -0
config.json
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/beit-base-patch16-224-pt22k",
|
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": "No Mask",
|
17 |
+
"1": "Mask"
|
18 |
+
},
|
19 |
+
"image_size": 224,
|
20 |
+
"initializer_range": 0.02,
|
21 |
+
"intermediate_size": 3072,
|
22 |
+
"label2id": {
|
23 |
+
"Mask": "1",
|
24 |
+
"No Mask": "0"
|
25 |
+
},
|
26 |
+
"layer_norm_eps": 1e-12,
|
27 |
+
"layer_scale_init_value": 0.1,
|
28 |
+
"legacy_output": false,
|
29 |
+
"model_type": "beit",
|
30 |
+
"num_attention_heads": 12,
|
31 |
+
"num_channels": 3,
|
32 |
+
"num_hidden_layers": 12,
|
33 |
+
"out_indices": [
|
34 |
+
3,
|
35 |
+
5,
|
36 |
+
7,
|
37 |
+
11
|
38 |
+
],
|
39 |
+
"patch_size": 16,
|
40 |
+
"pool_scales": [
|
41 |
+
1,
|
42 |
+
2,
|
43 |
+
3,
|
44 |
+
6
|
45 |
+
],
|
46 |
+
"semantic_loss_ignore_index": 255,
|
47 |
+
"torch_dtype": "float32",
|
48 |
+
"transformers_version": "4.17.0.dev0",
|
49 |
+
"use_absolute_position_embeddings": false,
|
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": true,
|
55 |
+
"vocab_size": 8192
|
56 |
+
}
|