CoolFace
Modelpublic

bryandts/image_classification_face

sourceHugging Faceapache-2.0updated 3y agoView on Hugging Face
0likes9downloads
config.json45 linesDownload Raw Back to root
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": "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.33.1"44}45