|
{ |
|
"_name_or_path": "microsoft/BiomedNLP-PubMedBERT-base-uncased-abstract-fulltext", |
|
"architectures": [ |
|
"BertForTokenClassification" |
|
], |
|
"attention_probs_dropout_prob": 0.1, |
|
"classifier_dropout": null, |
|
"hidden_act": "gelu", |
|
"hidden_dropout_prob": 0.1, |
|
"hidden_size": 768, |
|
"id2label": { |
|
"0": "O", |
|
"1": "B-disease", |
|
"2": "I-disease", |
|
"3": "B-body-part", |
|
"4": "I-body-part", |
|
"5": "B-mutation", |
|
"6": "I-mutation", |
|
"7": "B-Physiology", |
|
"8": "I-Physiology", |
|
"9": "B-cohort-patient", |
|
"10": "I-cohort-patient", |
|
"11": "B-size", |
|
"12": "I-size", |
|
"13": "B-gender", |
|
"14": "I-gender", |
|
"15": "B-age", |
|
"16": "I-age", |
|
"17": "B-Concepts_Ideas", |
|
"18": "I-Concepts_Ideas", |
|
"19": "B-Disorder", |
|
"20": "I-Disorder", |
|
"21": "B-gene", |
|
"22": "I-gene", |
|
"23": "B-Phenomena", |
|
"24": "I-Phenomena", |
|
"25": "B-ethnicity", |
|
"26": "I-ethnicity" |
|
}, |
|
"initializer_range": 0.02, |
|
"intermediate_size": 3072, |
|
"label2id": { |
|
"B-Concepts_Ideas": 17, |
|
"B-Disorder": 19, |
|
"B-Phenomena": 23, |
|
"B-Physiology": 7, |
|
"B-age": 15, |
|
"B-body-part": 3, |
|
"B-cohort-patient": 9, |
|
"B-disease": 1, |
|
"B-ethnicity": 25, |
|
"B-gender": 13, |
|
"B-gene": 21, |
|
"B-mutation": 5, |
|
"B-size": 11, |
|
"I-Concepts_Ideas": 18, |
|
"I-Disorder": 20, |
|
"I-Phenomena": 24, |
|
"I-Physiology": 8, |
|
"I-age": 16, |
|
"I-body-part": 4, |
|
"I-cohort-patient": 10, |
|
"I-disease": 2, |
|
"I-ethnicity": 26, |
|
"I-gender": 14, |
|
"I-gene": 22, |
|
"I-mutation": 6, |
|
"I-size": 12, |
|
"O": 0 |
|
}, |
|
"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.27.4", |
|
"type_vocab_size": 2, |
|
"use_cache": true, |
|
"vocab_size": 30522 |
|
} |
|
|