|
{ |
|
"_name_or_path": "NlpHUST/ner-vietnamese-electra-base", |
|
"adaptive": true, |
|
"architectures": [ |
|
"LSGElectraForTokenClassification" |
|
], |
|
"attention_probs_dropout_prob": 0.1, |
|
"auto_map": { |
|
"AutoConfig": "modeling_lsg_electra.LSGElectraConfig", |
|
"AutoModel": "modeling_lsg_electra.LSGElectraModel", |
|
"AutoModelForCausalLM": "modeling_lsg_electra.LSGElectraForCausalLM", |
|
"AutoModelForMaskedLM": "modeling_lsg_electra.LSGElectraForMaskedLM", |
|
"AutoModelForMultipleChoice": "modeling_lsg_electra.LSGElectraForMultipleChoice", |
|
"AutoModelForPreTraining": "modeling_lsg_electra.LSGElectraForPreTraining", |
|
"AutoModelForQuestionAnswering": "modeling_lsg_electra.LSGElectraForQuestionAnswering", |
|
"AutoModelForSequenceClassification": "modeling_lsg_electra.LSGElectraForSequenceClassification", |
|
"AutoModelForTokenClassification": "modeling_lsg_electra.LSGElectraForTokenClassification" |
|
}, |
|
"base_model_prefix": "lsg", |
|
"block_size": 128, |
|
"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" |
|
}, |
|
"initializer_range": 0.02, |
|
"intermediate_size": 3072, |
|
"label2id": { |
|
"B-LOCATION": 0, |
|
"B-MISCELLANEOUS": 1, |
|
"B-ORGANIZATION": 2, |
|
"B-PERSON": 3, |
|
"I-LOCATION": 4, |
|
"I-MISCELLANEOUS": 5, |
|
"I-ORGANIZATION": 6, |
|
"I-PERSON": 7, |
|
"O": 8 |
|
}, |
|
"layer_norm_eps": 1e-12, |
|
"lsh_num_pre_rounds": 1, |
|
"mask_first_token": false, |
|
"max_position_embeddings": 1024, |
|
"model_type": "electra", |
|
"num_attention_heads": 12, |
|
"num_global_tokens": 1, |
|
"num_hidden_layers": 12, |
|
"pad_token_id": 0, |
|
"pool_with_global": true, |
|
"position_embedding_type": "absolute", |
|
"sparse_block_size": 128, |
|
"sparsity_factor": 2, |
|
"sparsity_type": "norm", |
|
"summary_activation": "gelu", |
|
"summary_last_dropout": 0.1, |
|
"summary_type": "first", |
|
"summary_use_proj": true, |
|
"torch_dtype": "float32", |
|
"transformers_version": "4.25.1", |
|
"type_vocab_size": 2, |
|
"use_cache": true, |
|
"vocab_size": 62000 |
|
} |
|
|