|
{ |
|
"_name_or_path": "/home/phongtnh/MyProjects/VietMed_NER/outputs/vinai/phobert-base", |
|
"architectures": [ |
|
"RobertaForTokenClassification" |
|
], |
|
"attention_probs_dropout_prob": 0.1, |
|
"bos_token_id": 0, |
|
"classifier_dropout": null, |
|
"eos_token_id": 2, |
|
"gradient_checkpointing": false, |
|
"hidden_act": "gelu", |
|
"hidden_dropout_prob": 0.1, |
|
"hidden_size": 768, |
|
"id2label": { |
|
"0": "I-ORGAN", |
|
"1": "B-PREVENTIVEMED", |
|
"2": "B-DISEASESYMTOM", |
|
"3": "B-FOODDRINK", |
|
"4": "B-ORGANIZATION", |
|
"5": "B-OCCUPATION", |
|
"6": "B-DRUGCHEMICAL", |
|
"7": "I-FOODDRINK", |
|
"8": "I-DISEASESYMTOM", |
|
"9": "I-UNITCALIBRATOR", |
|
"10": "I-DATETIME", |
|
"11": "I-DIAGNOSTICS", |
|
"12": "B-TRANSPORTATION", |
|
"13": "B-GENDER", |
|
"14": "B-AGE", |
|
"15": "B-DATETIME", |
|
"16": "B-LOCATION", |
|
"17": "B-TREATMENT", |
|
"18": "I-DRUGCHEMICAL", |
|
"19": "I-PREVENTIVEMED", |
|
"20": "I-TREATMENT", |
|
"21": "I-ORGANIZATION", |
|
"22": "0", |
|
"23": "B-UNITCALIBRATOR", |
|
"24": "B-MEDDEVICETECHNIQUE", |
|
"25": "I-OCCUPATION", |
|
"26": "B-PERSONALCARE", |
|
"27": "I-PERSONALCARE", |
|
"28": "I-GENDER", |
|
"29": "I-SURGERY", |
|
"30": "I-AGE", |
|
"31": "I-LOCATION", |
|
"32": "B-DIAGNOSTICS", |
|
"33": "I-MEDDEVICETECHNIQUE", |
|
"34": "B-ORGAN", |
|
"35": "B-SURGERY", |
|
"36": "I-TRANSPORTATION" |
|
}, |
|
"initializer_range": 0.02, |
|
"intermediate_size": 3072, |
|
"label2id": { |
|
"0": 22, |
|
"B-AGE": 14, |
|
"B-DATETIME": 15, |
|
"B-DIAGNOSTICS": 32, |
|
"B-DISEASESYMTOM": 2, |
|
"B-DRUGCHEMICAL": 6, |
|
"B-FOODDRINK": 3, |
|
"B-GENDER": 13, |
|
"B-LOCATION": 16, |
|
"B-MEDDEVICETECHNIQUE": 24, |
|
"B-OCCUPATION": 5, |
|
"B-ORGAN": 34, |
|
"B-ORGANIZATION": 4, |
|
"B-PERSONALCARE": 26, |
|
"B-PREVENTIVEMED": 1, |
|
"B-SURGERY": 35, |
|
"B-TRANSPORTATION": 12, |
|
"B-TREATMENT": 17, |
|
"B-UNITCALIBRATOR": 23, |
|
"I-AGE": 30, |
|
"I-DATETIME": 10, |
|
"I-DIAGNOSTICS": 11, |
|
"I-DISEASESYMTOM": 8, |
|
"I-DRUGCHEMICAL": 18, |
|
"I-FOODDRINK": 7, |
|
"I-GENDER": 28, |
|
"I-LOCATION": 31, |
|
"I-MEDDEVICETECHNIQUE": 33, |
|
"I-OCCUPATION": 25, |
|
"I-ORGAN": 0, |
|
"I-ORGANIZATION": 21, |
|
"I-PERSONALCARE": 27, |
|
"I-PREVENTIVEMED": 19, |
|
"I-SURGERY": 29, |
|
"I-TRANSPORTATION": 36, |
|
"I-TREATMENT": 20, |
|
"I-UNITCALIBRATOR": 9 |
|
}, |
|
"layer_norm_eps": 1e-05, |
|
"max_position_embeddings": 258, |
|
"model_type": "roberta", |
|
"num_attention_heads": 12, |
|
"num_hidden_layers": 12, |
|
"pad_token_id": 1, |
|
"position_embedding_type": "absolute", |
|
"tokenizer_class": "PhobertTokenizer", |
|
"torch_dtype": "float32", |
|
"transformers_version": "4.32.0.dev0", |
|
"type_vocab_size": 1, |
|
"use_cache": true, |
|
"vocab_size": 64001 |
|
} |
|
|