bert-base-uncased-pf-emotion / head_config.json
calpt's picture
Fix label2id mapping.
05c76fc
raw
history blame contribute delete
447 Bytes
{
"config": {
"activation_function": "tanh",
"bias": true,
"head_type": "classification",
"label2id": {
"sadness": 0,
"joy": 1,
"love": 2,
"anger": 3,
"fear": 4,
"surprise": 5
},
"layers": 2,
"num_labels": 6,
"use_pooler": false
},
"hidden_size": 768,
"model_class": "BertModelWithHeads",
"model_name": "bert-base-uncased",
"model_type": "bert",
"name": "emotion"
}