Upload ViTForImageClassification
Browse files- config.json +33 -7
- pytorch_model.bin +3 -0
config.json
CHANGED
@@ -1,9 +1,35 @@
|
|
1 |
{
|
2 |
-
"
|
3 |
-
|
4 |
-
"
|
5 |
-
"partly",
|
6 |
-
"whole"
|
7 |
],
|
8 |
-
"
|
9 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "facebook/deit-base-patch16-384",
|
3 |
+
"architectures": [
|
4 |
+
"ViTForImageClassification"
|
|
|
|
|
5 |
],
|
6 |
+
"attention_probs_dropout_prob": 0.05,
|
7 |
+
"encoder_stride": 16,
|
8 |
+
"hidden_act": "gelu",
|
9 |
+
"hidden_dropout_prob": 0.1,
|
10 |
+
"hidden_size": 768,
|
11 |
+
"id2label": {
|
12 |
+
"0": "none",
|
13 |
+
"1": "cover",
|
14 |
+
"2": "partly",
|
15 |
+
"3": "whole"
|
16 |
+
},
|
17 |
+
"image_size": 384,
|
18 |
+
"initializer_range": 0.02,
|
19 |
+
"intermediate_size": 3072,
|
20 |
+
"label2id": {
|
21 |
+
"cover": "1",
|
22 |
+
"none": "0",
|
23 |
+
"partly": "2",
|
24 |
+
"whole": "3"
|
25 |
+
},
|
26 |
+
"layer_norm_eps": 1e-12,
|
27 |
+
"model_type": "vit",
|
28 |
+
"num_attention_heads": 12,
|
29 |
+
"num_channels": 3,
|
30 |
+
"num_hidden_layers": 12,
|
31 |
+
"patch_size": 16,
|
32 |
+
"qkv_bias": true,
|
33 |
+
"torch_dtype": "float32",
|
34 |
+
"transformers_version": "4.33.3"
|
35 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:519f034fde933da8a76b794717385e491383b564af901bffa696c3305de03374
|
3 |
+
size 344439914
|