|
{ |
|
"_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": "I-PERSON", |
|
"1": "B-TRANSPORTATION", |
|
"2": "I-ROLE", |
|
"3": "B-EVENT", |
|
"4": "I-TIME", |
|
"5": "I-TRANSPORTATION", |
|
"6": "I-COUNTRY", |
|
"7": "I-LANGUAGE", |
|
"8": "B-LANGUAGE", |
|
"9": "I-LOCATION", |
|
"10": "B-DEGREE", |
|
"11": "I-DOCUMENT", |
|
"12": "B-PERSON", |
|
"13": "B-SOCIAL_MEDIA", |
|
"14": "B-COUNTRY", |
|
"15": "B-SCHOOL", |
|
"16": "I-ORGANIZATION", |
|
"17": "I-QUANTITY", |
|
"18": "I-SONG", |
|
"19": "I-NUMBER", |
|
"20": "I-FOOD", |
|
"21": "B-TEMPERATURE", |
|
"22": "I-TOTAL_AREA", |
|
"23": "I-TOTAL_VOLUME", |
|
"24": "I-DISEASE", |
|
"25": "B-RELATIONSHIP", |
|
"26": "I-EVENT", |
|
"27": "B-GENDER", |
|
"28": "B-QUANTITY", |
|
"29": "I-TEMPERATURE", |
|
"30": "I-DEGREE", |
|
"31": "B-EDUCATION", |
|
"32": "B-LOCATION", |
|
"33": "B-NUMBER", |
|
"34": "I-RELATIONSHIP", |
|
"35": "I-EDUCATION", |
|
"36": "I-ORDINAL", |
|
"37": "I-SCHOOL", |
|
"38": "B-NATIONALITY", |
|
"39": "I-AGE", |
|
"40": "O", |
|
"41": "B-MONEY", |
|
"42": "B-FOOD", |
|
"43": "I-MONEY", |
|
"44": "B-SONG", |
|
"45": "B-TOTAL_AREA", |
|
"46": "I-NATIONALITY", |
|
"47": "I-RANK", |
|
"48": "B-ROLE", |
|
"49": "B-ORDINAL", |
|
"50": "B-PRODUCT", |
|
"51": "B-TIME", |
|
"52": "B-AGE", |
|
"53": "B-ORGANIZATION", |
|
"54": "I-DATE", |
|
"55": "B-DISEASE", |
|
"56": "B-SPORT", |
|
"57": "B-TOTAL_VOLUME", |
|
"58": "I-PRODUCT", |
|
"59": "B-RANK", |
|
"60": "B-DATE", |
|
"61": "I-GENDER", |
|
"62": "B-DOCUMENT", |
|
"63": "I-SPORT" |
|
}, |
|
"initializer_range": 0.02, |
|
"intermediate_size": 3072, |
|
"label2id": { |
|
"B-AGE": 52, |
|
"B-COUNTRY": 14, |
|
"B-DATE": 60, |
|
"B-DEGREE": 10, |
|
"B-DISEASE": 55, |
|
"B-DOCUMENT": 62, |
|
"B-EDUCATION": 31, |
|
"B-EVENT": 3, |
|
"B-FOOD": 42, |
|
"B-GENDER": 27, |
|
"B-LANGUAGE": 8, |
|
"B-LOCATION": 32, |
|
"B-MONEY": 41, |
|
"B-NATIONALITY": 38, |
|
"B-NUMBER": 33, |
|
"B-ORDINAL": 49, |
|
"B-ORGANIZATION": 53, |
|
"B-PERSON": 12, |
|
"B-PRODUCT": 50, |
|
"B-QUANTITY": 28, |
|
"B-RANK": 59, |
|
"B-RELATIONSHIP": 25, |
|
"B-ROLE": 48, |
|
"B-SCHOOL": 15, |
|
"B-SOCIAL_MEDIA": 13, |
|
"B-SONG": 44, |
|
"B-SPORT": 56, |
|
"B-TEMPERATURE": 21, |
|
"B-TIME": 51, |
|
"B-TOTAL_AREA": 45, |
|
"B-TOTAL_VOLUME": 57, |
|
"B-TRANSPORTATION": 1, |
|
"I-AGE": 39, |
|
"I-COUNTRY": 6, |
|
"I-DATE": 54, |
|
"I-DEGREE": 30, |
|
"I-DISEASE": 24, |
|
"I-DOCUMENT": 11, |
|
"I-EDUCATION": 35, |
|
"I-EVENT": 26, |
|
"I-FOOD": 20, |
|
"I-GENDER": 61, |
|
"I-LANGUAGE": 7, |
|
"I-LOCATION": 9, |
|
"I-MONEY": 43, |
|
"I-NATIONALITY": 46, |
|
"I-NUMBER": 19, |
|
"I-ORDINAL": 36, |
|
"I-ORGANIZATION": 16, |
|
"I-PERSON": 0, |
|
"I-PRODUCT": 58, |
|
"I-QUANTITY": 17, |
|
"I-RANK": 47, |
|
"I-RELATIONSHIP": 34, |
|
"I-ROLE": 2, |
|
"I-SCHOOL": 37, |
|
"I-SONG": 18, |
|
"I-SPORT": 63, |
|
"I-TEMPERATURE": 29, |
|
"I-TIME": 4, |
|
"I-TOTAL_AREA": 22, |
|
"I-TOTAL_VOLUME": 23, |
|
"I-TRANSPORTATION": 5, |
|
"O": 40 |
|
}, |
|
"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 |
|
} |
|
|