ArabicWojood-FlatNER / config.json
naghamghanim's picture
Update config.json
48a5983 verified
{
"_name_or_path": "aubmindlab/bert-base-arabertv2",
"architectures": [
"BertForMaskedLM"
],
"attention_probs_dropout_prob": 0.1,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"max_position_embeddings": 512,
"model_type": "bert",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"type_vocab_size": 2,
"vocab_size": 64000,
"output_past": true,
"pad_token_id": 0,
"position_embedding_type": "absolute",
"torch_dtype": "float32",
"id2label": {
"0":"B-ORG",
"1":"I-ORG",
"2":"O",
"3":"B-DATE",
"4":"I-DATE",
"5":"B-GPE",
"6":"I-GPE",
"7":"B-ORDINAL",
"8":"B-OCC",
"9":"I-OCC",
"10":"B-EVENT",
"11":"I-EVENT",
"12":"B-NORP",
"13":"B-FAC",
"14":"I-FAC",
"15":"I-NORP",
"16":"B-PERS",
"17":"I-PERS",
"18":"B-LOC",
"19":"I-LOC",
"20":"B-CARDINAL",
"21":"I-ORDINAL",
"22":"B-LANGUAGE",
"23":"B-MONEY",
"24":"I-MONEY",
"25":"I-CARDINAL",
"26":"B-PERCENT",
"27":"I-PERCENT",
"28":"B-QUANTITY",
"29":"I-QUANTITY",
"30":"B-UNIT",
"31":"B-TIME",
"32":"I-TIME",
"33":"B-CURR",
"34":"I-LANGUAGE",
"35":"B-WEBSITE",
"36":"I-WEBSITE",
"37":"I-CURR",
"38":"B-PRODUCT",
"39":"I-PRODUCT",
"40":"B-LAW",
"41":"I-LAW"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"B-ORG":"0",
"I-ORG":"1",
"O":"2",
"B-DATE":"3",
"I-DATE":"4",
"B-GPE":"5",
"I-GPE":"6",
"B-ORDINAL":"7",
"B-OCC":"8",
"I-OCC":"9",
"B-EVENT":"10",
"I-EVENT":"11",
"B-NORP":"12",
"B-FAC":"13",
"I-FAC":"14",
"I-NORP":"15",
"B-PERS":"16",
"I-PERS":"17",
"B-LOC":"18",
"I-LOC":"19",
"B-CARDINAL":"20",
"I-ORDINAL":"21",
"B-LANGUAGE":"22",
"B-MONEY":"23",
"I-MONEY":"24",
"I-CARDINAL":"25",
"B-PERCENT":"26",
"I-PERCENT":"27",
"B-QUANTITY":"28",
"I-QUANTITY":"29",
"B-UNIT":"30",
"B-TIME":"31",
"I-TIME":"32",
"B-CURR":"33",
"I-LANGUAGE":"34",
"B-WEBSITE":"35",
"I-WEBSITE":"36",
"I-CURR":"37",
"B-PRODUCT":"38",
"I-PRODUCT":"39",
"B-LAW":"40",
"I-LAW":"41"
}
}