Update config file
Browse files- config.json +45 -39
config.json
CHANGED
@@ -1,55 +1,57 @@
|
|
1 |
{
|
|
|
2 |
"architectures": [
|
3 |
-
"
|
4 |
],
|
5 |
"attention_probs_dropout_prob": 0.1,
|
|
|
6 |
"gradient_checkpointing": false,
|
7 |
"hidden_act": "gelu",
|
8 |
"hidden_dropout_prob": 0.1,
|
9 |
"hidden_size": 768,
|
10 |
"id2label": {
|
11 |
-
"0": "
|
12 |
-
"1": "
|
13 |
-
"2": "
|
14 |
-
"3": "
|
15 |
-
"4": "
|
16 |
-
"5": "
|
17 |
-
"6": "
|
18 |
-
"7": "
|
19 |
-
"8": "
|
20 |
-
"9": "
|
21 |
-
"10": "
|
22 |
-
"11": "
|
23 |
-
"12": "
|
24 |
-
"13": "
|
25 |
-
"14": "
|
26 |
-
"15": "
|
27 |
-
"16": "
|
28 |
-
"17": "
|
29 |
-
"18": "
|
30 |
},
|
31 |
"initializer_range": 0.02,
|
32 |
"intermediate_size": 3072,
|
33 |
"label2id": {
|
34 |
-
"
|
35 |
-
"
|
36 |
-
"
|
37 |
-
"
|
38 |
-
"
|
39 |
-
"
|
40 |
-
"
|
41 |
-
"
|
42 |
-
"
|
43 |
-
"
|
44 |
-
"
|
45 |
-
"
|
46 |
-
"
|
47 |
-
"
|
48 |
-
"
|
49 |
-
"
|
50 |
-
"
|
51 |
-
"
|
52 |
-
"
|
53 |
},
|
54 |
"layer_norm_eps": 1e-12,
|
55 |
"max_position_embeddings": 512,
|
@@ -58,6 +60,10 @@
|
|
58 |
"num_hidden_layers": 12,
|
59 |
"output_past": true,
|
60 |
"pad_token_id": 0,
|
|
|
|
|
|
|
61 |
"type_vocab_size": 2,
|
|
|
62 |
"vocab_size": 32000
|
63 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "hatmimoha/arabic-ner",
|
3 |
"architectures": [
|
4 |
+
"BertForSequenceClassification"
|
5 |
],
|
6 |
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
"gradient_checkpointing": false,
|
9 |
"hidden_act": "gelu",
|
10 |
"hidden_dropout_prob": 0.1,
|
11 |
"hidden_size": 768,
|
12 |
"id2label": {
|
13 |
+
"0": "O",
|
14 |
+
"1": "B-PERSON",
|
15 |
+
"2": "I-PERSON",
|
16 |
+
"3": "B-ORGANIZATION",
|
17 |
+
"4": "I-ORGANIZATION",
|
18 |
+
"5": "B-LOCATION",
|
19 |
+
"6": "I-LOCATION",
|
20 |
+
"7": "B-PRODUCT",
|
21 |
+
"8": "I-PRODUCT",
|
22 |
+
"9": "B-EVENT",
|
23 |
+
"10": "I-EVENT",
|
24 |
+
"11": "B-DATE",
|
25 |
+
"12": "I-DATE",
|
26 |
+
"13": "B-COMPETITION",
|
27 |
+
"14": "I-COMPETITION",
|
28 |
+
"15": "B-PRICE",
|
29 |
+
"16": "I-PRICE",
|
30 |
+
"17": "B-DISEASE",
|
31 |
+
"18": "I-DISEASE"
|
32 |
},
|
33 |
"initializer_range": 0.02,
|
34 |
"intermediate_size": 3072,
|
35 |
"label2id": {
|
36 |
+
"B-COMPETITION": 13,
|
37 |
+
"B-DATE": 11,
|
38 |
+
"B-DISEASE": 17,
|
39 |
+
"B-EVENT": 9,
|
40 |
+
"B-LOCATION": 5,
|
41 |
+
"B-ORGANIZATION": 3,
|
42 |
+
"B-PERSON": 1,
|
43 |
+
"B-PRICE": 15,
|
44 |
+
"B-PRODUCT": 7,
|
45 |
+
"I-COMPETITION": 14,
|
46 |
+
"I-DATE": 12,
|
47 |
+
"I-DISEASE": 18,
|
48 |
+
"I-EVENT": 10,
|
49 |
+
"I-LOCATION": 6,
|
50 |
+
"I-ORGANIZATION": 4,
|
51 |
+
"I-PERSON": 2,
|
52 |
+
"I-PRICE": 16,
|
53 |
+
"I-PRODUCT": 8,
|
54 |
+
"O": 0
|
55 |
},
|
56 |
"layer_norm_eps": 1e-12,
|
57 |
"max_position_embeddings": 512,
|
|
|
60 |
"num_hidden_layers": 12,
|
61 |
"output_past": true,
|
62 |
"pad_token_id": 0,
|
63 |
+
"position_embedding_type": "absolute",
|
64 |
+
"torch_dtype": "float32",
|
65 |
+
"transformers_version": "4.19.0.dev0",
|
66 |
"type_vocab_size": 2,
|
67 |
+
"use_cache": true,
|
68 |
"vocab_size": 32000
|
69 |
}
|