beomi commited on
Commit
83a4b01
1 Parent(s): a4b2242

Add Human readable label

Browse files
Files changed (1) hide show
  1. config.json +6 -6
config.json CHANGED
@@ -9,16 +9,16 @@
9
  "hidden_dropout_prob": 0.1,
10
  "hidden_size": 768,
11
  "id2label": {
12
- "0": "LABEL_0",
13
- "1": "LABEL_1",
14
- "2": "LABEL_2"
15
  },
16
  "initializer_range": 0.02,
17
  "intermediate_size": 3072,
18
  "label2id": {
19
- "LABEL_0": 0,
20
- "LABEL_1": 1,
21
- "LABEL_2": 2
22
  },
23
  "layer_norm_eps": 1e-12,
24
  "max_position_embeddings": 512,
 
9
  "hidden_dropout_prob": 0.1,
10
  "hidden_size": 768,
11
  "id2label": {
12
+ "0": "None",
13
+ "1": "Hate",
14
+ "2": "Offensive"
15
  },
16
  "initializer_range": 0.02,
17
  "intermediate_size": 3072,
18
  "label2id": {
19
+ "None": 0,
20
+ "Hate": 1,
21
+ "Offensive": 2
22
  },
23
  "layer_norm_eps": 1e-12,
24
  "max_position_embeddings": 512,