File size: 2,285 Bytes
03a218f |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 |
{
"_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
}
|