trpakov commited on
Commit
4f96cb7
1 Parent(s): 5eac4c0

Upload ViTForImageClassification

Browse files
Files changed (2) hide show
  1. config.json +42 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "id2label": {
12
+ "0": "angry",
13
+ "1": "disgust",
14
+ "2": "fear",
15
+ "3": "happy",
16
+ "4": "neutral",
17
+ "5": "sad",
18
+ "6": "surprise"
19
+ },
20
+ "image_size": 224,
21
+ "initializer_range": 0.02,
22
+ "intermediate_size": 3072,
23
+ "label2id": {
24
+ "angry": "0",
25
+ "disgust": "1",
26
+ "fear": "2",
27
+ "happy": "3",
28
+ "neutral": "4",
29
+ "sad": "5",
30
+ "surprise": "6"
31
+ },
32
+ "layer_norm_eps": 1e-12,
33
+ "model_type": "vit",
34
+ "num_attention_heads": 12,
35
+ "num_channels": 3,
36
+ "num_hidden_layers": 12,
37
+ "patch_size": 16,
38
+ "problem_type": "single_label_classification",
39
+ "qkv_bias": true,
40
+ "torch_dtype": "float32",
41
+ "transformers_version": "4.24.0"
42
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:17268e15dabb64cd6751b63abb51ac860231374b747f68fbf12a2815c80dd9ef
3
+ size 343282353