roberta-base-pf-imdb / head_config.json
calpt's picture
Fix label2id mapping.
76cc0d1
{
"config": {
"activation_function": "tanh",
"bias": true,
"head_type": "classification",
"label2id": {
"neg": 0,
"pos": 1
},
"layers": 2,
"num_labels": 2,
"use_pooler": false
},
"hidden_size": 768,
"model_class": "RobertaModelWithHeads",
"model_name": "roberta-base",
"model_type": "roberta",
"name": "imdb"
}