|
{ |
|
"_name_or_path": "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": "O", |
|
"1": "I-UNITCALIBRATOR", |
|
"2": "I-TREATMENT", |
|
"3": "I-TRANSPORTATION", |
|
"4": "I-SURGERY", |
|
"5": "I-PREVENTIVEMED", |
|
"6": "I-PERSONALCARE", |
|
"7": "I-ORGANIZATION", |
|
"8": "I-ORGAN", |
|
"9": "I-OCCUPATION", |
|
"10": "I-NAME", |
|
"11": "I-MEDDEVICETECHNIQUE", |
|
"12": "I-LOCATION", |
|
"13": "I-GENDER", |
|
"14": "I-FOODDRINK", |
|
"15": "I-DRUGCHEMICAL", |
|
"16": "I-DISEASESYMTOM", |
|
"17": "I-DIAGNOSTICS", |
|
"18": "I-DATETIME", |
|
"19": "I-AGE", |
|
"20": "B-UNITCALIBRATOR", |
|
"21": "B-TREATMENT", |
|
"22": "B-TRANSPORTATION", |
|
"23": "B-SURGERY", |
|
"24": "B-PREVENTIVEMED", |
|
"25": "B-PERSONALCARE", |
|
"26": "B-ORGANIZATION", |
|
"27": "B-ORGAN", |
|
"28": "B-OCCUPATION", |
|
"29": "B-NAME", |
|
"30": "B-MEDDEVICETECHNIQUE", |
|
"31": "B-LOCATION", |
|
"32": "B-GENDER", |
|
"33": "B-FOODDRINK", |
|
"34": "B-DRUGCHEMICAL", |
|
"35": "B-DISEASESYMTOM", |
|
"36": "B-DIAGNOSTICS", |
|
"37": "B-DATETIME", |
|
"38": "B-AGE" |
|
}, |
|
"initializer_range": 0.02, |
|
"intermediate_size": 3072, |
|
"label2id": { |
|
"B-AGE": 38, |
|
"B-DATETIME": 37, |
|
"B-DIAGNOSTICS": 36, |
|
"B-DISEASESYMTOM": 35, |
|
"B-DRUGCHEMICAL": 34, |
|
"B-FOODDRINK": 33, |
|
"B-GENDER": 32, |
|
"B-LOCATION": 31, |
|
"B-MEDDEVICETECHNIQUE": 30, |
|
"B-NAME": 29, |
|
"B-OCCUPATION": 28, |
|
"B-ORGAN": 27, |
|
"B-ORGANIZATION": 26, |
|
"B-PERSONALCARE": 25, |
|
"B-PREVENTIVEMED": 24, |
|
"B-SURGERY": 23, |
|
"B-TRANSPORTATION": 22, |
|
"B-TREATMENT": 21, |
|
"B-UNITCALIBRATOR": 20, |
|
"I-AGE": 19, |
|
"I-DATETIME": 18, |
|
"I-DIAGNOSTICS": 17, |
|
"I-DISEASESYMTOM": 16, |
|
"I-DRUGCHEMICAL": 15, |
|
"I-FOODDRINK": 14, |
|
"I-GENDER": 13, |
|
"I-LOCATION": 12, |
|
"I-MEDDEVICETECHNIQUE": 11, |
|
"I-NAME": 10, |
|
"I-OCCUPATION": 9, |
|
"I-ORGAN": 8, |
|
"I-ORGANIZATION": 7, |
|
"I-PERSONALCARE": 6, |
|
"I-PREVENTIVEMED": 5, |
|
"I-SURGERY": 4, |
|
"I-TRANSPORTATION": 3, |
|
"I-TREATMENT": 2, |
|
"I-UNITCALIBRATOR": 1, |
|
"O": 0 |
|
}, |
|
"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 |
|
} |
|
|