arabic-ner / config.json
hatmimoha's picture
Update config
66c29b3
raw
history blame
1.58 kB
{
"_name_or_path": "/home/mohamed/Downloads/ar-ner.model/ar-ner.model",
"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-PERSON",
"2": "I-PERSON",
"3": "B-ORGANIZATION",
"4": "I-ORGANIZATION",
"5": "B-LOCATION",
"6": "I-LOCATION",
"7": "B-PRODUCT",
"8": "I-PRODUCT",
"9": "B-EVENT",
"10": "I-EVENT",
"11": "B-DATE",
"12": "I-DATE",
"13": "B-COMPETITION",
"14": "I-COMPETITION",
"15": "B-PRICE",
"16": "I-PRICE",
"17": "B-DISEASE",
"18": "I-DISEASE"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"B-COMPETITION": 13,
"B-DATE": 11,
"B-DISEASE": 17,
"B-EVENT": 9,
"B-LOCATION": 5,
"B-ORGANIZATION": 3,
"B-PERSON": 1,
"B-PRICE": 15,
"B-PRODUCT": 7,
"I-COMPETITION": 14,
"I-DATE": 12,
"I-DISEASE": 18,
"I-EVENT": 10,
"I-LOCATION": 6,
"I-ORGANIZATION": 4,
"I-PERSON": 2,
"I-PRICE": 16,
"I-PRODUCT": 8,
"O": 0
},
"layer_norm_eps": 1e-12,
"max_position_embeddings": 512,
"model_type": "bert",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"output_past": true,
"pad_token_id": 0,
"position_embedding_type": "absolute",
"torch_dtype": "float32",
"transformers_version": "4.19.0.dev0",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 32000
}