NER_Persian_Hafez_BERT / config.json
Mohammdrezasajjadi's picture
Upload 5 files
5cf1e33 verified
{
"_name_or_path": "ViravirastSHZ/Hafez_Bert",
"architectures": [
"BertForTokenClassification"
],
"attention_probs_dropout_prob": 0.1,
"classifier_dropout": null,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "O",
"1": "B-DAT",
"2": "B-EVE",
"3": "B-LOC",
"4": "B-ORG",
"5": "B-PER",
"6": "I-DAT",
"7": "I-EVE",
"8": "I-LOC",
"9": "I-ORG",
"10": "I-PER"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"B-DAT": 1,
"B-EVE": 2,
"B-LOC": 3,
"B-ORG": 4,
"B-PER": 5,
"I-DAT": 6,
"I-EVE": 7,
"I-LOC": 8,
"I-ORG": 9,
"I-PER": 10,
"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.42.3",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 30522
}