|
{ |
|
"_name_or_path": "NlpHUST/ner-vietnamese-electra-base", |
|
"architectures": [ |
|
"ElectraForTokenClassification" |
|
], |
|
"attention_probs_dropout_prob": 0.1, |
|
"classifier_dropout": null, |
|
"embedding_size": 768, |
|
"finetuning_task": "ner", |
|
"hidden_act": "gelu", |
|
"hidden_dropout_prob": 0.1, |
|
"hidden_size": 768, |
|
"id2label": { |
|
"0": "B-RELIGION", |
|
"1": "B-DATETIME", |
|
"2": "B-AGE", |
|
"3": "I-QUANTITY", |
|
"4": "I-AGE", |
|
"5": "I-ROLE", |
|
"6": "I-SKILL", |
|
"7": "I-RELIGION", |
|
"8": "I-TRANSPORTATION", |
|
"9": "I-LAW", |
|
"10": "I-PHONE", |
|
"11": "B-EVENT", |
|
"12": "B-QUANTITY", |
|
"13": "I-EMAIL", |
|
"14": "B-ACTION", |
|
"15": "B-ETHNICITY", |
|
"16": "I-MISCELLANEOUS", |
|
"17": "B-PERSON", |
|
"18": "I-PERSON", |
|
"19": "I-MONEY", |
|
"20": "B-EDUCATION", |
|
"21": "B-LOCATION", |
|
"22": "I-GENDER", |
|
"23": "B-ROLE", |
|
"24": "B-MISCELLANEOUS", |
|
"25": "I-EVENT", |
|
"26": "B-SKILL", |
|
"27": "B-EMAIL", |
|
"28": "B-MONEY", |
|
"29": "I-ACTION", |
|
"30": "B-PRODUCT", |
|
"31": "B-GENDER", |
|
"32": "I-ETHNICITY", |
|
"33": "B-ADDRESS", |
|
"34": "I-DISEASE", |
|
"35": "O", |
|
"36": "I-ORGANIZATION", |
|
"37": "I-PRODUCT", |
|
"38": "B-LAW", |
|
"39": "I-DATETIME", |
|
"40": "B-PHONE", |
|
"41": "I-ADDRESS", |
|
"42": "I-LOCATION", |
|
"43": "B-DISEASE", |
|
"44": "I-EDUCATION", |
|
"45": "B-ORGANIZATION", |
|
"46": "B-URL", |
|
"47": "I-URL", |
|
"48": "B-TRANSPORTATION" |
|
}, |
|
"initializer_range": 0.02, |
|
"intermediate_size": 3072, |
|
"label2id": { |
|
"B-ACTION": 14, |
|
"B-ADDRESS": 33, |
|
"B-AGE": 2, |
|
"B-DATETIME": 1, |
|
"B-DISEASE": 43, |
|
"B-EDUCATION": 20, |
|
"B-EMAIL": 27, |
|
"B-ETHNICITY": 15, |
|
"B-EVENT": 11, |
|
"B-GENDER": 31, |
|
"B-LAW": 38, |
|
"B-LOCATION": 21, |
|
"B-MISCELLANEOUS": 24, |
|
"B-MONEY": 28, |
|
"B-ORGANIZATION": 45, |
|
"B-PERSON": 17, |
|
"B-PHONE": 40, |
|
"B-PRODUCT": 30, |
|
"B-QUANTITY": 12, |
|
"B-RELIGION": 0, |
|
"B-ROLE": 23, |
|
"B-SKILL": 26, |
|
"B-TRANSPORTATION": 48, |
|
"B-URL": 46, |
|
"I-ACTION": 29, |
|
"I-ADDRESS": 41, |
|
"I-AGE": 4, |
|
"I-DATETIME": 39, |
|
"I-DISEASE": 34, |
|
"I-EDUCATION": 44, |
|
"I-EMAIL": 13, |
|
"I-ETHNICITY": 32, |
|
"I-EVENT": 25, |
|
"I-GENDER": 22, |
|
"I-LAW": 9, |
|
"I-LOCATION": 42, |
|
"I-MISCELLANEOUS": 16, |
|
"I-MONEY": 19, |
|
"I-ORGANIZATION": 36, |
|
"I-PERSON": 18, |
|
"I-PHONE": 10, |
|
"I-PRODUCT": 37, |
|
"I-QUANTITY": 3, |
|
"I-RELIGION": 7, |
|
"I-ROLE": 5, |
|
"I-SKILL": 6, |
|
"I-TRANSPORTATION": 8, |
|
"I-URL": 47, |
|
"O": 35 |
|
}, |
|
"layer_norm_eps": 1e-12, |
|
"max_position_embeddings": 512, |
|
"model_type": "electra", |
|
"num_attention_heads": 12, |
|
"num_hidden_layers": 12, |
|
"pad_token_id": 0, |
|
"position_embedding_type": "absolute", |
|
"summary_activation": "gelu", |
|
"summary_last_dropout": 0.1, |
|
"summary_type": "first", |
|
"summary_use_proj": true, |
|
"torch_dtype": "float32", |
|
"transformers_version": "4.41.2", |
|
"type_vocab_size": 2, |
|
"use_cache": true, |
|
"vocab_size": 62000 |
|
} |
|
|