|
{ |
|
"_name_or_path": "microsoft/deberta-v3-base", |
|
"architectures": [ |
|
"DebertaV2ForTokenClassification" |
|
], |
|
"attention_probs_dropout_prob": 0.1, |
|
"hidden_act": "gelu", |
|
"hidden_dropout_prob": 0.1, |
|
"hidden_size": 768, |
|
"id2label": { |
|
"0": "O", |
|
"1": "B-Activity", |
|
"2": "I-Activity", |
|
"3": "B-Administration", |
|
"4": "I-Administration", |
|
"5": "B-Age", |
|
"6": "I-Age", |
|
"7": "B-Area", |
|
"8": "I-Area", |
|
"9": "B-Biological_attribute", |
|
"10": "I-Biological_attribute", |
|
"11": "B-Biological_structure", |
|
"12": "I-Biological_structure", |
|
"13": "B-Clinical_event", |
|
"14": "I-Clinical_event", |
|
"15": "B-Color", |
|
"16": "I-Color", |
|
"17": "B-Coreference", |
|
"18": "I-Coreference", |
|
"19": "B-Date", |
|
"20": "I-Date", |
|
"21": "B-Detailed_description", |
|
"22": "I-Detailed_description", |
|
"23": "B-Diagnostic_procedure", |
|
"24": "I-Diagnostic_procedure", |
|
"25": "B-Disease_disorder", |
|
"26": "I-Disease_disorder", |
|
"27": "B-Distance", |
|
"28": "I-Distance", |
|
"29": "B-Dosage", |
|
"30": "I-Dosage", |
|
"31": "B-Duration", |
|
"32": "I-Duration", |
|
"33": "B-Family_history", |
|
"34": "I-Family_history", |
|
"35": "B-Frequency", |
|
"36": "I-Frequency", |
|
"37": "B-Height", |
|
"38": "I-Height", |
|
"39": "B-History", |
|
"40": "I-History", |
|
"41": "B-Lab_value", |
|
"42": "I-Lab_value", |
|
"43": "B-Mass", |
|
"44": "I-Mass", |
|
"45": "B-Medication", |
|
"46": "I-Medication", |
|
"47": "B-Nonbiological_location", |
|
"48": "I-Nonbiological_location", |
|
"49": "B-Occupation", |
|
"50": "I-Occupation", |
|
"51": "B-Other_entity", |
|
"52": "I-Other_entity", |
|
"53": "B-Other_event", |
|
"54": "I-Other_event", |
|
"55": "B-Outcome", |
|
"56": "I-Outcome", |
|
"57": "B-Personal_background", |
|
"58": "I-Personal_background", |
|
"59": "B-Qualitative_concept", |
|
"60": "I-Qualitative_concept", |
|
"61": "B-Quantitative_concept", |
|
"62": "I-Quantitative_concept", |
|
"63": "B-Severity", |
|
"64": "I-Severity", |
|
"65": "B-Sex", |
|
"66": "I-Sex", |
|
"67": "B-Shape", |
|
"68": "I-Shape", |
|
"69": "B-Sign_symptom", |
|
"70": "I-Sign_symptom", |
|
"71": "B-Subject", |
|
"72": "I-Subject", |
|
"73": "B-Texture", |
|
"74": "I-Texture", |
|
"75": "B-Therapeutic_procedure", |
|
"76": "I-Therapeutic_procedure", |
|
"77": "B-Time", |
|
"78": "I-Time", |
|
"79": "B-Volume", |
|
"80": "I-Volume", |
|
"81": "B-Weight", |
|
"82": "I-Weight" |
|
}, |
|
"initializer_range": 0.02, |
|
"intermediate_size": 3072, |
|
"label2id": { |
|
"B-Activity": 1, |
|
"B-Administration": 3, |
|
"B-Age": 5, |
|
"B-Area": 7, |
|
"B-Biological_attribute": 9, |
|
"B-Biological_structure": 11, |
|
"B-Clinical_event": 13, |
|
"B-Color": 15, |
|
"B-Coreference": 17, |
|
"B-Date": 19, |
|
"B-Detailed_description": 21, |
|
"B-Diagnostic_procedure": 23, |
|
"B-Disease_disorder": 25, |
|
"B-Distance": 27, |
|
"B-Dosage": 29, |
|
"B-Duration": 31, |
|
"B-Family_history": 33, |
|
"B-Frequency": 35, |
|
"B-Height": 37, |
|
"B-History": 39, |
|
"B-Lab_value": 41, |
|
"B-Mass": 43, |
|
"B-Medication": 45, |
|
"B-Nonbiological_location": 47, |
|
"B-Occupation": 49, |
|
"B-Other_entity": 51, |
|
"B-Other_event": 53, |
|
"B-Outcome": 55, |
|
"B-Personal_background": 57, |
|
"B-Qualitative_concept": 59, |
|
"B-Quantitative_concept": 61, |
|
"B-Severity": 63, |
|
"B-Sex": 65, |
|
"B-Shape": 67, |
|
"B-Sign_symptom": 69, |
|
"B-Subject": 71, |
|
"B-Texture": 73, |
|
"B-Therapeutic_procedure": 75, |
|
"B-Time": 77, |
|
"B-Volume": 79, |
|
"B-Weight": 81, |
|
"I-Activity": 2, |
|
"I-Administration": 4, |
|
"I-Age": 6, |
|
"I-Area": 8, |
|
"I-Biological_attribute": 10, |
|
"I-Biological_structure": 12, |
|
"I-Clinical_event": 14, |
|
"I-Color": 16, |
|
"I-Coreference": 18, |
|
"I-Date": 20, |
|
"I-Detailed_description": 22, |
|
"I-Diagnostic_procedure": 24, |
|
"I-Disease_disorder": 26, |
|
"I-Distance": 28, |
|
"I-Dosage": 30, |
|
"I-Duration": 32, |
|
"I-Family_history": 34, |
|
"I-Frequency": 36, |
|
"I-Height": 38, |
|
"I-History": 40, |
|
"I-Lab_value": 42, |
|
"I-Mass": 44, |
|
"I-Medication": 46, |
|
"I-Nonbiological_location": 48, |
|
"I-Occupation": 50, |
|
"I-Other_entity": 52, |
|
"I-Other_event": 54, |
|
"I-Outcome": 56, |
|
"I-Personal_background": 58, |
|
"I-Qualitative_concept": 60, |
|
"I-Quantitative_concept": 62, |
|
"I-Severity": 64, |
|
"I-Sex": 66, |
|
"I-Shape": 68, |
|
"I-Sign_symptom": 70, |
|
"I-Subject": 72, |
|
"I-Texture": 74, |
|
"I-Therapeutic_procedure": 76, |
|
"I-Time": 78, |
|
"I-Volume": 80, |
|
"I-Weight": 82, |
|
"O": 0 |
|
}, |
|
"layer_norm_eps": 1e-07, |
|
"max_position_embeddings": 512, |
|
"max_relative_positions": -1, |
|
"model_type": "deberta-v2", |
|
"norm_rel_ebd": "layer_norm", |
|
"num_attention_heads": 12, |
|
"num_hidden_layers": 12, |
|
"pad_token_id": 0, |
|
"pooler_dropout": 0, |
|
"pooler_hidden_act": "gelu", |
|
"pooler_hidden_size": 768, |
|
"pos_att_type": [ |
|
"p2c", |
|
"c2p" |
|
], |
|
"position_biased_input": false, |
|
"position_buckets": 256, |
|
"relative_attention": true, |
|
"share_att_key": true, |
|
"torch_dtype": "float32", |
|
"transformers_version": "4.41.2", |
|
"type_vocab_size": 0, |
|
"vocab_size": 128100 |
|
} |
|
|