Upload FlaxBeitForImageClassification
Browse files- config.json +53 -0
- flax_model.msgpack +3 -0
config.json
ADDED
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"BeitForImageClassification"
|
4 |
+
],
|
5 |
+
"attention_probs_dropout_prob": 0.0,
|
6 |
+
"auxiliary_channels": 256,
|
7 |
+
"auxiliary_concat_input": false,
|
8 |
+
"auxiliary_loss_weight": 0.4,
|
9 |
+
"auxiliary_num_convs": 1,
|
10 |
+
"drop_path_rate": 0.1,
|
11 |
+
"hidden_act": "gelu",
|
12 |
+
"hidden_dropout_prob": 0.0,
|
13 |
+
"hidden_size": 768,
|
14 |
+
"id2label": {
|
15 |
+
"0": "LABEL_0"
|
16 |
+
},
|
17 |
+
"image_size": 224,
|
18 |
+
"initializer_range": 0.02,
|
19 |
+
"intermediate_size": 3072,
|
20 |
+
"label2id": {
|
21 |
+
"LABEL_0": 0
|
22 |
+
},
|
23 |
+
"layer_norm_eps": 1e-12,
|
24 |
+
"layer_scale_init_value": 0.1,
|
25 |
+
"model_type": "beit",
|
26 |
+
"num_attention_heads": 12,
|
27 |
+
"num_channels": 3,
|
28 |
+
"num_hidden_layers": 12,
|
29 |
+
"out_indices": [
|
30 |
+
3,
|
31 |
+
5,
|
32 |
+
7,
|
33 |
+
11
|
34 |
+
],
|
35 |
+
"patch_size": 16,
|
36 |
+
"pool_scales": [
|
37 |
+
1,
|
38 |
+
2,
|
39 |
+
3,
|
40 |
+
6
|
41 |
+
],
|
42 |
+
"problem_type": "multi_label_classification",
|
43 |
+
"semantic_loss_ignore_index": 255,
|
44 |
+
"torch_dtype": "float32",
|
45 |
+
"transformers_version": "4.26.0",
|
46 |
+
"use_absolute_position_embeddings": false,
|
47 |
+
"use_auxiliary_head": true,
|
48 |
+
"use_mask_token": false,
|
49 |
+
"use_mean_pooling": true,
|
50 |
+
"use_relative_position_bias": true,
|
51 |
+
"use_shared_relative_position_bias": false,
|
52 |
+
"vocab_size": 8192
|
53 |
+
}
|
flax_model.msgpack
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7f50c7059b1fddf66ffdc1e1a96c2a4892740dce6481c082905456bff99ba5b2
|
3 |
+
size 171534111
|