ner_finetune_52024 / config.json
hoangtb203's picture
Upload 2 files
f4e389f verified
{
"_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-LOCATION",
"1": "B-MISCELLANEOUS",
"2": "B-ORGANIZATION",
"3": "B-PERSON",
"4": "I-LOCATION",
"5": "I-MISCELLANEOUS",
"6": "I-ORGANIZATION",
"7": "I-PERSON",
"8": "O",
"9": "I-ORG_Political",
"10": "I-ORG_International",
"11": "B-DIS",
"12": "I-PRO_Drug",
"13": "I-LOC_Region",
"14": "I-LOC_Other",
"15": "B-PRO_Food",
"16": "B-PRO_Stock",
"17": "B-LOC_Region",
"18": "B-PRO_Clothing",
"19": "I-ORG_Corporation",
"20": "B-ORG_Corporation",
"21": "B-MISC",
"22": "I-PRO_Art",
"23": "B-PRO_Drug",
"24": "B-ORG_Sport",
"25": "B-ORG_Political",
"26": "I-DIS",
"27": "B-PER",
"28": "I-LOC_GPE",
"29": "I-PRO_Clothing",
"30": "B-PRO_Art",
"31": "B-PRO_Weapon",
"32": "B-LOC_Geological",
"33": "B-LOC_Other",
"34": "I-ORG_Other",
"35": "B-PRO_Other",
"36": "I-PRO_Weapon",
"37": "B-PRO_Vehicle",
"38": "B-LOC_GPE",
"39": "B-PRO_Technology",
"40": "I-PER",
"41": "I-PRO_Other",
"42": "B-PRO_Printing",
"43": "I-PRO_Technology",
"44": "I-PRO_Food",
"45": "B-ORG_International",
"46": "I-MISC",
"47": "I-LOC_Geological",
"48": "B-ORG_Other",
"49": "I-PRO_Printing",
"50": "I-PRO_Stock",
"51": "I-ORG_Sport",
"52": "I-PRO_Vehicle",
"53": "B-M"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"B-DIS": 11,
"B-LOCATION": 0,
"B-LOC_GPE": 38,
"B-LOC_Geological": 32,
"B-LOC_Other": 33,
"B-LOC_Region": 17,
"B-M": 53,
"B-MISC": 21,
"B-MISCELLANEOUS": 1,
"B-ORGANIZATION": 2,
"B-ORG_Corporation": 20,
"B-ORG_International": 45,
"B-ORG_Other": 48,
"B-ORG_Political": 25,
"B-ORG_Sport": 24,
"B-PER": 27,
"B-PERSON": 3,
"B-PRO_Art": 30,
"B-PRO_Clothing": 18,
"B-PRO_Drug": 23,
"B-PRO_Food": 15,
"B-PRO_Other": 35,
"B-PRO_Printing": 42,
"B-PRO_Stock": 16,
"B-PRO_Technology": 39,
"B-PRO_Vehicle": 37,
"B-PRO_Weapon": 31,
"I-DIS": 26,
"I-LOCATION": 4,
"I-LOC_GPE": 28,
"I-LOC_Geological": 47,
"I-LOC_Other": 14,
"I-LOC_Region": 13,
"I-MISC": 46,
"I-MISCELLANEOUS": 5,
"I-ORGANIZATION": 6,
"I-ORG_Corporation": 19,
"I-ORG_International": 10,
"I-ORG_Other": 34,
"I-ORG_Political": 9,
"I-ORG_Sport": 51,
"I-PER": 40,
"I-PERSON": 7,
"I-PRO_Art": 22,
"I-PRO_Clothing": 29,
"I-PRO_Drug": 12,
"I-PRO_Food": 44,
"I-PRO_Other": 41,
"I-PRO_Printing": 49,
"I-PRO_Stock": 50,
"I-PRO_Technology": 43,
"I-PRO_Vehicle": 52,
"I-PRO_Weapon": 36,
"O": 8
},
"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.39.3",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 100000
}