arabic-ner / config.json
hatmimoha's picture
Upload config file
65ef39d
raw
history blame
1.53 kB
{
"_name_or_path": "asafaya/bert-base-arabic",
"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": "B-COMPETITION",
"1": "B-DATE",
"2": "B-DISEASE",
"3": "B-EVENT",
"4": "B-LOCATION",
"5": "B-ORGANIZATION",
"6": "B-PERSON",
"7": "B-PRICE",
"8": "B-PRODUCT",
"9": "I-COMPETITION",
"10": "I-DATE",
"11": "I-DISEASE",
"12": "I-EVENT",
"13": "I-LOCATION",
"14": "I-ORGANIZATION",
"15": "I-PERSON",
"16": "I-PRICE",
"17": "I-PRODUCT",
"18": "O"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"B-COMPETITION": 0,
"B-DATE": 1,
"B-DISEASE": 2,
"B-EVENT": 3,
"B-LOCATION": 4,
"B-ORGANIZATION": 5,
"B-PERSON": 6,
"B-PRICE": 7,
"B-PRODUCT": 8,
"I-COMPETITION": 9,
"I-DATE": 10,
"I-DISEASE": 11,
"I-EVENT": 12,
"I-LOCATION": 13,
"I-ORGANIZATION": 14,
"I-PERSON": 15,
"I-PRICE": 16,
"I-PRODUCT": 17,
"O": 18
},
"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.24.0",
"type_vocab_size": 2,
"vocab_size": 32000
}