LampOfSocrates
commited on
Upload ViTForImageClassification
Browse files- config.json +31 -0
- model.safetensors +3 -0
config.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "facebook/vit-mae-base",
|
3 |
+
"architectures": [
|
4 |
+
"ViTForImageClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"decoder_hidden_size": 512,
|
8 |
+
"decoder_intermediate_size": 2048,
|
9 |
+
"decoder_num_attention_heads": 16,
|
10 |
+
"decoder_num_hidden_layers": 8,
|
11 |
+
"encoder_stride": 16,
|
12 |
+
"hidden_act": "gelu",
|
13 |
+
"hidden_dropout_prob": 0.0,
|
14 |
+
"hidden_size": 768,
|
15 |
+
"image_size": 224,
|
16 |
+
"initializer_range": 0.02,
|
17 |
+
"intermediate_size": 3072,
|
18 |
+
"layer_norm_eps": 1e-12,
|
19 |
+
"mask_ratio": 0.75,
|
20 |
+
"model_type": "vit",
|
21 |
+
"norm_pix_loss": false,
|
22 |
+
"num_attention_heads": 12,
|
23 |
+
"num_channels": 3,
|
24 |
+
"num_hidden_layers": 12,
|
25 |
+
"output_attentions": true,
|
26 |
+
"patch_size": 16,
|
27 |
+
"problem_type": "single_label_classification",
|
28 |
+
"qkv_bias": true,
|
29 |
+
"torch_dtype": "float32",
|
30 |
+
"transformers_version": "4.36.2"
|
31 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7e94ac82c1bd70645a349dfa6be142688f62fa9320ccf762a11659449661a70a
|
3 |
+
size 343223968
|