mehdidn's picture
Update config.json
05964e3
{
"_name_or_path": "HooshvareLab/bert-fa-zwnj-base",
"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": "O",
"1": "B-DAT",
"2": "I-DAT",
"3": "B-EVE",
"4": "I-EVE",
"5": "B-FAC",
"6": "I-FAC",
"7": "B-LOC",
"8": "I-LOC",
"9": "B-MON",
"10": "I-MON",
"11": "B-ORG",
"12": "I-ORG",
"13": "B-PCT",
"14": "I-PCT",
"15": "B-PER",
"16": "I-PER",
"17": "B-PRO",
"18": "I-PRO",
"19": "B-TIM",
"20": "I-TIM"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"B-DAT": 1,
"B-EVE": 3,
"B-FAC": 5,
"B-LOC": 7,
"B-MON": 9,
"B-ORG": 11,
"B-PCT": 13,
"B-PER": 15,
"B-PRO": 17,
"B-TIM": 19,
"I-DAT": 2,
"I-EVE": 4,
"I-FAC": 6,
"I-LOC": 8,
"I-MON": 10,
"I-ORG": 12,
"I-PCT": 14,
"I-PER": 16,
"I-PRO": 18,
"I-TIM": 20,
"O": 0
},
"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.2",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 42000
}