Anwarkh1 commited on
Commit
fe0ef07
1 Parent(s): 8f5fc75

Upload ViTForImageClassification

Browse files
Files changed (2) hide show
  1. config.json +11 -12
  2. model.safetensors +2 -2
config.json CHANGED
@@ -1,24 +1,23 @@
1
  {
 
2
  "architectures": [
3
- "BertModel"
4
  ],
5
- "attention_probs_dropout_prob": 0.1,
6
- "classifier_dropout": null,
7
  "hidden_act": "gelu",
8
- "hidden_dropout_prob": 0.1,
9
  "hidden_size": 768,
 
10
  "initializer_range": 0.02,
11
  "intermediate_size": 3072,
12
  "layer_norm_eps": 1e-12,
13
- "max_position_embeddings": 512,
14
- "model_type": "bert",
15
  "num_attention_heads": 12,
 
16
  "num_hidden_layers": 12,
17
- "pad_token_id": 0,
18
- "position_embedding_type": "absolute",
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:7a1ec3b6b6a34ba97d4bd850f58ec0101c5af37dd68c6bbb96a40da67eefc2fd
3
- size 437951328
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:467eadb4eaab7fd9393b0c0da29b369bc47890ce839e9200393d563e65df58f4
3
+ size 343239356