AliFartout
commited on
Commit
•
7ac6349
1
Parent(s):
7ea960e
Update config.json
Browse files- config.json +8 -16
config.json
CHANGED
@@ -11,25 +11,17 @@
|
|
11 |
"hidden_dropout_prob": 0.1,
|
12 |
"hidden_size": 768,
|
13 |
"id2label": {
|
14 |
-
"
|
15 |
-
"
|
16 |
-
"
|
17 |
-
"
|
18 |
-
"
|
19 |
-
"
|
20 |
-
"
|
21 |
},
|
22 |
"initializer_range": 0.02,
|
23 |
"intermediate_size": 3072,
|
24 |
-
"label2id":
|
25 |
-
"B_LOC": 3,
|
26 |
-
"B_ORG": 6,
|
27 |
-
"B_PER": 2,
|
28 |
-
"I_LOC": 4,
|
29 |
-
"I_ORG": 1,
|
30 |
-
"I_PER": 0,
|
31 |
-
"O": 5
|
32 |
-
},
|
33 |
"layer_norm_eps": 1e-05,
|
34 |
"max_position_embeddings": 514,
|
35 |
"model_type": "xlm-roberta",
|
|
|
11 |
"hidden_dropout_prob": 0.1,
|
12 |
"hidden_size": 768,
|
13 |
"id2label": {
|
14 |
+
"2": "I_PER",
|
15 |
+
"4": "I_ORG",
|
16 |
+
"1": "B_PER",
|
17 |
+
"5": "B_LOC",
|
18 |
+
"6": "I_LOC",
|
19 |
+
"0": "O",
|
20 |
+
"3": "B_ORG"
|
21 |
},
|
22 |
"initializer_range": 0.02,
|
23 |
"intermediate_size": 3072,
|
24 |
+
"label2id": {'O':0, 'B_PER':1, 'I_PER':2, 'B_ORG':3, 'I_ORG':4, 'B_LOC':5, 'I_LOC':6},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
"layer_norm_eps": 1e-05,
|
26 |
"max_position_embeddings": 514,
|
27 |
"model_type": "xlm-roberta",
|