Upload ViTForImageClassification
Browse files- config.json +11 -12
- model.safetensors +2 -2
config.json
CHANGED
@@ -1,24 +1,23 @@
|
|
1 |
{
|
|
|
2 |
"architectures": [
|
3 |
-
"
|
4 |
],
|
5 |
-
"attention_probs_dropout_prob": 0.
|
6 |
-
"
|
7 |
"hidden_act": "gelu",
|
8 |
-
"hidden_dropout_prob": 0.
|
9 |
"hidden_size": 768,
|
|
|
10 |
"initializer_range": 0.02,
|
11 |
"intermediate_size": 3072,
|
12 |
"layer_norm_eps": 1e-12,
|
13 |
-
"
|
14 |
-
"model_type": "bert",
|
15 |
"num_attention_heads": 12,
|
|
|
16 |
"num_hidden_layers": 12,
|
17 |
-
"
|
18 |
-
"
|
19 |
"torch_dtype": "float32",
|
20 |
-
"transformers_version": "4.38.2"
|
21 |
-
"type_vocab_size": 2,
|
22 |
-
"use_cache": true,
|
23 |
-
"vocab_size": 30522
|
24 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "google/vit-base-patch16-224-in21k",
|
3 |
"architectures": [
|
4 |
+
"ViTForImageClassification"
|
5 |
],
|
6 |
+
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"encoder_stride": 16,
|
8 |
"hidden_act": "gelu",
|
9 |
+
"hidden_dropout_prob": 0.0,
|
10 |
"hidden_size": 768,
|
11 |
+
"image_size": 224,
|
12 |
"initializer_range": 0.02,
|
13 |
"intermediate_size": 3072,
|
14 |
"layer_norm_eps": 1e-12,
|
15 |
+
"model_type": "vit",
|
|
|
16 |
"num_attention_heads": 12,
|
17 |
+
"num_channels": 3,
|
18 |
"num_hidden_layers": 12,
|
19 |
+
"patch_size": 16,
|
20 |
+
"qkv_bias": true,
|
21 |
"torch_dtype": "float32",
|
22 |
+
"transformers_version": "4.38.2"
|
|
|
|
|
|
|
23 |
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:467eadb4eaab7fd9393b0c0da29b369bc47890ce839e9200393d563e65df58f4
|
3 |
+
size 343239356
|