|
{ |
|
"_name_or_path": "vinai/phobert-base-v2", |
|
"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-PATIENT_ID", |
|
"2": "I-PATIENT_ID", |
|
"3": "B-NAME", |
|
"4": "I-NAME", |
|
"5": "B-GENDER", |
|
"6": "I-GENDER", |
|
"7": "B-AGE", |
|
"8": "I-AGE", |
|
"9": "B-JOB", |
|
"10": "I-JOB", |
|
"11": "B-LOCATION", |
|
"12": "I-LOCATION", |
|
"13": "B-ORGANIZATION", |
|
"14": "I-ORGANIZATION", |
|
"15": "B-DATE", |
|
"16": "I-DATE", |
|
"17": "B-SYMPTOM_AND_DISEASE", |
|
"18": "I-SYMPTOM_AND_DISEASE", |
|
"19": "B-TRANSPORTATION", |
|
"20": "I-TRANSPORTATION" |
|
}, |
|
"initializer_range": 0.02, |
|
"intermediate_size": 3072, |
|
"label2id": { |
|
"B-AGE": 7, |
|
"B-DATE": 15, |
|
"B-GENDER": 5, |
|
"B-JOB": 9, |
|
"B-LOCATION": 11, |
|
"B-NAME": 3, |
|
"B-ORGANIZATION": 13, |
|
"B-PATIENT_ID": 1, |
|
"B-SYMPTOM_AND_DISEASE": 17, |
|
"B-TRANSPORTATION": 19, |
|
"I-AGE": 8, |
|
"I-DATE": 16, |
|
"I-GENDER": 6, |
|
"I-JOB": 10, |
|
"I-LOCATION": 12, |
|
"I-NAME": 4, |
|
"I-ORGANIZATION": 14, |
|
"I-PATIENT_ID": 2, |
|
"I-SYMPTOM_AND_DISEASE": 18, |
|
"I-TRANSPORTATION": 20, |
|
"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.41.2", |
|
"type_vocab_size": 1, |
|
"use_cache": true, |
|
"vocab_size": 64001 |
|
} |
|
|