| { | |
| "_name_or_path": "roberta-base", | |
| "architectures": [ | |
| "RobertaForTokenClassification" | |
| ], | |
| "attention_probs_dropout_prob": 0.1, | |
| "bos_token_id": 0, | |
| "classifier_dropout": null, | |
| "eos_token_id": 2, | |
| "hidden_act": "gelu", | |
| "hidden_dropout_prob": 0.1, | |
| "hidden_size": 768, | |
| "id2label": { | |
| "0": "O", | |
| "1": "B-Disease_E", | |
| "2": "I-Disease_E", | |
| "3": "B-Anatomy_E", | |
| "4": "I-Anatomy_E", | |
| "5": "B-Cause_E", | |
| "6": "I-Cause_E", | |
| "7": "B-Code_E", | |
| "8": "I-Code_E", | |
| "9": "B-Diagnosis_E", | |
| "10": "I-Diagnosis_E", | |
| "11": "B-Precaution_E", | |
| "12": "I-Precaution_E", | |
| "13": "B-Riskfactor_E", | |
| "14": "I-Riskfactor_E", | |
| "15": "B-Symptom_E", | |
| "16": "I-Symptom_E", | |
| "17": "B-Medicine_E", | |
| "18": "I-Medicine_E", | |
| "19": "B-Composition_E", | |
| "20": "I-Composition_E", | |
| "21": "B-Complication_E", | |
| "22": "I-Complication_E", | |
| "23": "B-Surgery_E", | |
| "24": "I-Surgery_E" | |
| }, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 3072, | |
| "label2id": { | |
| "B-Anatomy_E": 3, | |
| "B-Cause_E": 5, | |
| "B-Code_E": 7, | |
| "B-Complication_E": 21, | |
| "B-Composition_E": 19, | |
| "B-Diagnosis_E": 9, | |
| "B-Disease_E": 1, | |
| "B-Medicine_E": 17, | |
| "B-Precaution_E": 11, | |
| "B-Riskfactor_E": 13, | |
| "B-Surgery_E": 23, | |
| "B-Symptom_E": 15, | |
| "I-Anatomy_E": 4, | |
| "I-Cause_E": 6, | |
| "I-Code_E": 8, | |
| "I-Complication_E": 22, | |
| "I-Composition_E": 20, | |
| "I-Diagnosis_E": 10, | |
| "I-Disease_E": 2, | |
| "I-Medicine_E": 18, | |
| "I-Precaution_E": 12, | |
| "I-Riskfactor_E": 14, | |
| "I-Surgery_E": 24, | |
| "I-Symptom_E": 16, | |
| "O": 0 | |
| }, | |
| "layer_norm_eps": 1e-05, | |
| "max_position_embeddings": 514, | |
| "model_type": "roberta", | |
| "num_attention_heads": 12, | |
| "num_hidden_layers": 12, | |
| "pad_token_id": 1, | |
| "position_embedding_type": "absolute", | |
| "torch_dtype": "float32", | |
| "transformers_version": "4.26.0", | |
| "type_vocab_size": 1, | |
| "use_cache": true, | |
| "vocab_size": 50265 | |
| } | |