File size: 2,334 Bytes
5603eec 7483a21 5603eec 7483a21 5603eec b11adb1 5603eec b11adb1 5603eec |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
{
"_name_or_path": "gyr66/relation_extraction_bert_base_uncased",
"architectures": [
"BertForRelationExtraction"
],
"attention_probs_dropout_prob": 0.1,
"auto_map": {
"AutoModelForSequenceClassification": "model.BertForRelationExtraction"
},
"classifier_dropout": null,
"e1_end_token_id": 30524,
"e1_start_token_id": 30523,
"e2_end_token_id": 30525,
"e2_start_token_id": 30522,
"finetuning_task": "text-classification",
"gradient_checkpointing": false,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "Cause-Effect(e1,e2)",
"1": "Cause-Effect(e2,e1)",
"2": "Instrument-Agency(e1,e2)",
"3": "Instrument-Agency(e2,e1)",
"4": "Member-Collection(e1,e2)",
"5": "Member-Collection(e2,e1)",
"6": "Message-Topic(e1,e2)",
"7": "Message-Topic(e2,e1)",
"8": "Product-Producer(e1,e2)",
"9": "Product-Producer(e2,e1)",
"10": "Other",
"11": "Component-Whole(e1,e2)",
"12": "Component-Whole(e2,e1)",
"13": "Content-Container(e1,e2)",
"14": "Content-Container(e2,e1)",
"15": "Entity-Destination(e1,e2)",
"16": "Entity-Destination(e2,e1)",
"17": "Entity-Origin(e1,e2)",
"18": "Entity-Origin(e2,e1)"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"Cause-Effect(e1,e2)": 0,
"Cause-Effect(e2,e1)": 1,
"Instrument-Agency(e1,e2)": 2,
"Instrument-Agency(e2,e1)": 3,
"Member-Collection(e1,e2)": 4,
"Member-Collection(e2,e1)": 5,
"Message-Topic(e1,e2)": 6,
"Message-Topic(e2,e1)": 7,
"Product-Producer(e1,e2)": 8,
"Product-Producer(e2,e1)": 9,
"Other": 10,
"Component-Whole(e1,e2)": 11,
"Component-Whole(e2,e1)": 12,
"Content-Container(e1,e2)": 13,
"Content-Container(e2,e1)": 14,
"Entity-Destination(e1,e2)": 15,
"Entity-Destination(e2,e1)": 16,
"Entity-Origin(e1,e2)": 17,
"Entity-Origin(e2,e1)": 18
},
"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",
"problem_type": "single_label_classification",
"torch_dtype": "float32",
"transformers_version": "4.35.2",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 30526
}
|