|
{ |
|
"_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 |
|
} |
|
|