Beehzod commited on
Commit
c7421f2
·
verified ·
1 Parent(s): e562ecb

Upload fine-tuned ViT model for facial expression recognition

Browse files
Files changed (2) hide show
  1. config.json +43 -0
  2. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "ViTForImageClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.0,
6
+ "encoder_stride": 16,
7
+ "hidden_act": "gelu",
8
+ "hidden_dropout_prob": 0.0,
9
+ "hidden_size": 768,
10
+ "id2label": {
11
+ "0": "angry",
12
+ "1": "disgust",
13
+ "2": "fear",
14
+ "3": "happy",
15
+ "4": "neutral",
16
+ "5": "sad",
17
+ "6": "surprise"
18
+ },
19
+ "image_size": 224,
20
+ "initializer_range": 0.02,
21
+ "intermediate_size": 3072,
22
+ "label2id": {
23
+ "angry": 0,
24
+ "disgust": 1,
25
+ "fear": 2,
26
+ "happy": 3,
27
+ "neutral": 4,
28
+ "sad": 5,
29
+ "surprise": 6
30
+ },
31
+ "layer_norm_eps": 1e-12,
32
+ "model_type": "vit",
33
+ "num_attention_heads": 12,
34
+ "num_channels": 3,
35
+ "num_hidden_layers": 12,
36
+ "patch_size": 16,
37
+ "pooler_act": "tanh",
38
+ "pooler_output_size": 768,
39
+ "problem_type": "single_label_classification",
40
+ "qkv_bias": true,
41
+ "torch_dtype": "float32",
42
+ "transformers_version": "4.51.3"
43
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1157ab36709f3e015603b2b88ca691e459d38a15629127a72488cdefc568f1e1
3
+ size 343239356