pedl-cpa / config.json
leonweber's picture
Upload BertForDistantSupervision
41bb9fc
{
"_name_or_path": "leonweber/pedl",
"architectures": [
"BertForDistantSupervision"
],
"attention_probs_dropout_prob": 0.1,
"classifier_dropout": null,
"e1_id": 1,
"e2_id": 3,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "NONE",
"1": "ACTIVATOR",
"2": "AGONIST",
"3": "AGONIST-ACTIVATOR",
"4": "AGONIST-INHIBITOR",
"5": "ANTAGONIST",
"6": "DIRECT-REGULATOR",
"7": "INDIRECT-DOWNREGULATOR",
"8": "INDIRECT-UPREGULATOR",
"9": "INHIBITOR",
"10": "PART-OF",
"11": "PRODUCT-OF",
"12": "SUBSTRATE",
"13": "SUBSTRATE_PRODUCT-OF"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"ACTIVATOR": 1,
"AGONIST": 2,
"AGONIST-ACTIVATOR": 3,
"AGONIST-INHIBITOR": 4,
"ANTAGONIST": 5,
"DIRECT-REGULATOR": 6,
"INDIRECT-DOWNREGULATOR": 7,
"INDIRECT-UPREGULATOR": 8,
"INHIBITOR": 9,
"NONE": 0,
"PART-OF": 10,
"PRODUCT-OF": 11,
"SUBSTRATE": 12,
"SUBSTRATE_PRODUCT-OF": 13
},
"layer_norm_eps": 1e-12,
"max_position_embeddings": 512,
"model_type": "bert",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"pad_token_id": 0,
"position_embedding_type": "absolute",
"torch_dtype": "float32",
"transformers_version": "4.25.1",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 28899
}