|
{ |
|
"_name_or_path": "bert-base-uncased", |
|
"architectures": [ |
|
"BertForTokenClassification" |
|
], |
|
"attention_probs_dropout_prob": 0.1, |
|
"classifier_dropout": null, |
|
"gradient_checkpointing": false, |
|
"hidden_act": "gelu", |
|
"hidden_dropout_prob": 0.1, |
|
"hidden_size": 768, |
|
"id2label": { |
|
"0": "B-DISEASE", |
|
"1": "B-CHEMOTHERAPY", |
|
"2": "B-DATE", |
|
"3": "B-DRUG", |
|
"4": "B-FAMILY_MEMBER", |
|
"5": "B-FREQUENCY", |
|
"6": "B-AGE_RANGE", |
|
"7": "B-QUANTITY", |
|
"8": "I-DURATION", |
|
"9": "B-ACTION", |
|
"10": "B-NUMBER", |
|
"11": "B-RADIOTHERAPY", |
|
"12": "B-SMOKER_STATUS", |
|
"13": "B-STAGE", |
|
"14": "B-SURGERY", |
|
"15": "B-TNM", |
|
"16": "I-DISEASE", |
|
"17": "I-DATE", |
|
"18": "I-RANGE", |
|
"19": "B-ATTRIBUTE", |
|
"20": "I-FREQUENCY", |
|
"21": "I-DURATION", |
|
"22": "I-OTHER", |
|
"23": "B-OCCURRENCE", |
|
"24": "B-ACTION_DETAIL", |
|
"25": "I-ACTION_DETAIL", |
|
"26": "I-STAGE", |
|
"27": "I-SURGERY", |
|
"28": "I-TNM", |
|
"29": "O" |
|
}, |
|
"initializer_range": 0.02, |
|
"intermediate_size": 3072, |
|
"label2id": { |
|
"B-ACTION": 9, |
|
"B-ACTION_DETAIL": 24, |
|
"B-AGE_RANGE": 6, |
|
"B-ATTRIBUTE": 19, |
|
"B-CHEMOTHERAPY": 1, |
|
"B-DATE": 2, |
|
"B-DISEASE": 0, |
|
"B-DRUG": 3, |
|
"B-FAMILY_MEMBER": 4, |
|
"B-FREQUENCY": 5, |
|
"B-NUMBER": 10, |
|
"B-OCCURRENCE": 23, |
|
"B-QUANTITY": 7, |
|
"B-RADIOTHERAPY": 11, |
|
"B-SMOKER_STATUS": 12, |
|
"B-STAGE": 13, |
|
"B-SURGERY": 14, |
|
"B-TNM": 15, |
|
"I-ACTION_DETAIL": 25, |
|
"I-DATE": 17, |
|
"I-DISEASE": 16, |
|
"I-DURATION": 21, |
|
"I-FREQUENCY": 20, |
|
"I-OTHER": 22, |
|
"I-RANGE": 18, |
|
"I-STAGE": 26, |
|
"I-SURGERY": 27, |
|
"I-TNM": 28, |
|
"O": 29 |
|
}, |
|
"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.45.1", |
|
"type_vocab_size": 2, |
|
"use_cache": true, |
|
"vocab_size": 30522 |
|
} |
|
|