|
{ |
|
"_name_or_path": "NeuML/pubmedbert-base-embeddings", |
|
"architectures": [ |
|
"BertForTokenClassification" |
|
], |
|
"attention_probs_dropout_prob": 0.1, |
|
"classifier_dropout": null, |
|
"hidden_act": "gelu", |
|
"hidden_dropout_prob": 0.1, |
|
"hidden_size": 768, |
|
"id2label": { |
|
"0": "I-Adverse_event.Trigger", |
|
"1": "I-Treatment", |
|
"2": "O", |
|
"3": "I-Treatment.Drug", |
|
"4": "I-Treatment.Duration", |
|
"5": "I-Subject.Gender", |
|
"6": "I-Treatment.Treat_Disorder", |
|
"7": "I-Subject.Population", |
|
"8": "I-Subject", |
|
"9": "I-Subject.Sub_Disorder", |
|
"10": "I-Treatment.Time_elapsed", |
|
"11": "I-Subject.Age", |
|
"12": "I-Treatment.Dosage", |
|
"13": "I-Treatment.Route", |
|
"14": "I-Effect", |
|
"15": "I-Subject.Race", |
|
"16": "I-Treatment.Freq", |
|
"17": "I-Potential_therapeutic_event.Trigger" |
|
}, |
|
"initializer_range": 0.02, |
|
"intermediate_size": 3072, |
|
"label2id": { |
|
"I-Adverse_event.Trigger": 0, |
|
"I-Effect": 14, |
|
"I-Potential_therapeutic_event.Trigger": 17, |
|
"I-Subject": 8, |
|
"I-Subject.Age": 11, |
|
"I-Subject.Gender": 5, |
|
"I-Subject.Population": 7, |
|
"I-Subject.Race": 15, |
|
"I-Subject.Sub_Disorder": 9, |
|
"I-Treatment": 1, |
|
"I-Treatment.Dosage": 12, |
|
"I-Treatment.Drug": 3, |
|
"I-Treatment.Duration": 4, |
|
"I-Treatment.Freq": 16, |
|
"I-Treatment.Route": 13, |
|
"I-Treatment.Time_elapsed": 10, |
|
"I-Treatment.Treat_Disorder": 6, |
|
"O": 2 |
|
}, |
|
"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.40.1", |
|
"type_vocab_size": 2, |
|
"use_cache": true, |
|
"vocab_size": 30522 |
|
} |
|
|