Text-model / config.json
A7md47's picture
Add text emotion classifier (config, tokenizer, app, Dockerfile)
0d0980f verified
Raw
History Blame Contribute Delete
1.05 kB
{
"add_cross_attention": false,
"architectures": [
"CamembertForSequenceClassification"
],
"attention_probs_dropout_prob": 0.1,
"bos_token_id": 5,
"classifier_dropout": null,
"dtype": "float32",
"eos_token_id": 6,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "Anger",
"1": "Disgust",
"2": "Fear",
"3": "Happy",
"4": "Neutral",
"5": "Sad",
"6": "Surprise"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"is_decoder": false,
"label2id": {
"Anger": 0,
"Disgust": 1,
"Fear": 2,
"Happy": 3,
"Neutral": 4,
"Sad": 5,
"Surprise": 6
},
"layer_norm_eps": 1e-05,
"max_position_embeddings": 514,
"model_type": "camembert",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"output_past": true,
"pad_token_id": 1,
"tie_word_embeddings": true,
"transformers_version": "5.12.1",
"type_vocab_size": 1,
"use_cache": false,
"vocab_size": 32005
}