bakrianoo commited on
Commit
d46684a
1 Parent(s): 1985fca

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +38 -42
config.json CHANGED
@@ -10,50 +10,46 @@
10
  "hidden_act": "gelu",
11
  "hidden_dropout_prob": 0.1,
12
  "hidden_size": 1024,
13
- "id2label": {
14
- "0": "LABEL_0",
15
- "1": "LABEL_1",
16
- "2": "LABEL_2",
17
- "3": "LABEL_3",
18
- "4": "LABEL_4",
19
- "5": "LABEL_5",
20
- "6": "LABEL_6",
21
- "7": "LABEL_7",
22
- "8": "LABEL_8",
23
- "9": "LABEL_9",
24
- "10": "LABEL_10",
25
- "11": "LABEL_11",
26
- "12": "LABEL_12",
27
- "13": "LABEL_13",
28
- "14": "LABEL_14",
29
- "15": "LABEL_15",
30
- "16": "LABEL_16",
31
- "17": "LABEL_17",
32
- "18": "LABEL_18"
33
- },
34
  "initializer_range": 0.02,
35
  "intermediate_size": 4096,
36
- "label2id": {
37
- "LABEL_0": 0,
38
- "LABEL_1": 1,
39
- "LABEL_10": 10,
40
- "LABEL_11": 11,
41
- "LABEL_12": 12,
42
- "LABEL_13": 13,
43
- "LABEL_14": 14,
44
- "LABEL_15": 15,
45
- "LABEL_16": 16,
46
- "LABEL_17": 17,
47
- "LABEL_18": 18,
48
- "LABEL_2": 2,
49
- "LABEL_3": 3,
50
- "LABEL_4": 4,
51
- "LABEL_5": 5,
52
- "LABEL_6": 6,
53
- "LABEL_7": 7,
54
- "LABEL_8": 8,
55
- "LABEL_9": 9
56
- },
57
  "layer_norm_eps": 1e-05,
58
  "max_position_embeddings": 514,
59
  "model_type": "xlm-roberta",
 
10
  "hidden_act": "gelu",
11
  "hidden_dropout_prob": 0.1,
12
  "hidden_size": 1024,
13
+ "id2label": {"0": "O",
14
+ "1": "B-job",
15
+ "10": "I-event",
16
+ "11": "B-organization",
17
+ "12": "I-organization",
18
+ "13": "I-location",
19
+ "14": "I-nationality",
20
+ "15": "B-product",
21
+ "16": "I-product",
22
+ "17": "B-artwork",
23
+ "18": "I-artwork",
24
+ "2": "I-job",
25
+ "3": "B-nationality",
26
+ "4": "B-person",
27
+ "5": "I-person",
28
+ "6": "B-location",
29
+ "7": "B-time",
30
+ "8": "I-time",
31
+ "9": "B-event"},
 
 
32
  "initializer_range": 0.02,
33
  "intermediate_size": 4096,
34
+ "label2id": {"B-artwork": 17,
35
+ "B-event": 9,
36
+ "B-job": 1,
37
+ "B-location": 6,
38
+ "B-nationality": 3,
39
+ "B-organization": 11,
40
+ "B-person": 4,
41
+ "B-product": 15,
42
+ "B-time": 7,
43
+ "I-artwork": 18,
44
+ "I-event": 10,
45
+ "I-job": 2,
46
+ "I-location": 13,
47
+ "I-nationality": 14,
48
+ "I-organization": 12,
49
+ "I-person": 5,
50
+ "I-product": 16,
51
+ "I-time": 8,
52
+ "O": 0},
 
 
53
  "layer_norm_eps": 1e-05,
54
  "max_position_embeddings": 514,
55
  "model_type": "xlm-roberta",