bert-base-uncased-pf-imdb / head_config.json
calpt's picture
Fix label2id mapping.
9f58ab2
raw
history blame contribute delete
367 Bytes
{
"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": "BertModelWithHeads",
"model_name": "bert-base-uncased",
"model_type": "bert",
"name": "imdb"
}