NER_Farsi / config.json
pourmand1376's picture
add model
d481cde
{
"_name_or_path": "HooshvareLab/bert-fa-zwnj-base",
"_num_labels": 9,
"architectures": [
"BertForTokenClassification"
],
"attention_probs_dropout_prob": 0.1,
"classifier_dropout": null,
"gradient_checkpointing": false,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "I-DAT",
"1": "I-EVE",
"2": "I-LOC",
"3": "I-NAT",
"4": "I-ORG",
"5": "I-PER",
"6": "I-TIM",
"7": "I-mainLOC",
"8": "o"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"I-DAT": 0,
"I-EVE": 1,
"I-LOC": 2,
"I-NAT": 3,
"I-ORG": 4,
"I-PER": 5,
"I-TIM": 6,
"I-mainLOC": 7,
"o": 8
},
"layer_norm_eps": 1e-12,
"max_position_embeddings": 512,
"model_type": "bert",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"pad_token_id": 0,
"position_embedding_type": "absolute",
"torch_dtype": "float32",
"transformers_version": "4.21.0",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 42000
}