padilfm commited on
Commit
1bf8f3b
·
verified ·
1 Parent(s): a076677

Upload ViTForImageClassification

Browse files
Files changed (2) hide show
  1. config.json +0 -21
  2. model.safetensors +2 -2
config.json CHANGED
@@ -8,36 +8,15 @@
8
  "hidden_act": "gelu",
9
  "hidden_dropout_prob": 0.0,
10
  "hidden_size": 768,
11
- "id2label": {
12
- "0": "anger",
13
- "1": "contempt",
14
- "2": "disgust",
15
- "3": "fear",
16
- "4": "happy",
17
- "5": "neutral",
18
- "6": "sad",
19
- "7": "surprise"
20
- },
21
  "image_size": 224,
22
  "initializer_range": 0.02,
23
  "intermediate_size": 3072,
24
- "label2id": {
25
- "anger": "0",
26
- "contempt": "1",
27
- "disgust": "2",
28
- "fear": "3",
29
- "happy": "4",
30
- "neutral": "5",
31
- "sad": "6",
32
- "surprise": "7"
33
- },
34
  "layer_norm_eps": 1e-12,
35
  "model_type": "vit",
36
  "num_attention_heads": 12,
37
  "num_channels": 3,
38
  "num_hidden_layers": 12,
39
  "patch_size": 16,
40
- "problem_type": "single_label_classification",
41
  "qkv_bias": true,
42
  "torch_dtype": "float32",
43
  "transformers_version": "4.42.3"
 
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.42.3"
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:58549a12b34d90aa9d4ea958f572da82ee0428e4ac4c1504cd722dcbfe9759a7
3
- size 343242432
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3a84a727b4b338e7b3139b989424ea775d5bb94d99a4dbeeef85601ba1f15af2
3
+ size 343223968