thanhtan2136 commited on
Commit
2972348
·
verified ·
1 Parent(s): 4b9ea2b

custom label response

Browse files
Files changed (1) hide show
  1. config.json +24 -24
config.json CHANGED
@@ -9,34 +9,34 @@
9
  "hidden_act": "silu",
10
  "hidden_size": 1536,
11
  "id2label": {
12
- "0": "LABEL_0",
13
- "1": "LABEL_1",
14
- "2": "LABEL_2",
15
- "3": "LABEL_3",
16
- "4": "LABEL_4",
17
- "5": "LABEL_5",
18
- "6": "LABEL_6",
19
- "7": "LABEL_7",
20
- "8": "LABEL_8",
21
- "9": "LABEL_9",
22
- "10": "LABEL_10",
23
- "11": "LABEL_11"
24
  },
25
  "initializer_range": 0.02,
26
  "intermediate_size": 8960,
27
  "label2id": {
28
- "LABEL_0": 0,
29
- "LABEL_1": 1,
30
- "LABEL_10": 10,
31
- "LABEL_11": 11,
32
- "LABEL_2": 2,
33
- "LABEL_3": 3,
34
- "LABEL_4": 4,
35
- "LABEL_5": 5,
36
- "LABEL_6": 6,
37
- "LABEL_7": 7,
38
- "LABEL_8": 8,
39
- "LABEL_9": 9
40
  },
41
  "max_position_embeddings": 131072,
42
  "max_window_layers": 28,
 
9
  "hidden_act": "silu",
10
  "hidden_size": 1536,
11
  "id2label": {
12
+ "0": "1_Violent crimes",
13
+ "1": "2_Non-violent crimes",
14
+ "2": "3_Sex-related crimes",
15
+ "3": "4_Child sexual exploitation",
16
+ "4": "5_Specialized advice",
17
+ "5": "6_Privacy",
18
+ "6": "7_Intellectual property",
19
+ "7": "8_Indiscriminate weapons",
20
+ "8": "9_Hate",
21
+ "9": "10_Suicide and self-harm",
22
+ "10": "11_Sexual content",
23
+ "11": "12_Jailbreak prompts"
24
  },
25
  "initializer_range": 0.02,
26
  "intermediate_size": 8960,
27
  "label2id": {
28
+ "1_Violent crimes": 0,
29
+ "2_Non-violent crimes": 1,
30
+ "3_Sex-related crimes": 2,
31
+ "4_Child sexual exploitation": 3,
32
+ "5_Specialized advice": 4,
33
+ "6_Privacy": 5,
34
+ "7_Intellectual property": 6,
35
+ "8_Indiscriminate weapons": 7,
36
+ "9_Hate": 8,
37
+ "10_Suicide and self-harm": 9,
38
+ "11_Sexual content": 10,
39
+ "12_Jailbreak prompts": 11
40
  },
41
  "max_position_embeddings": 131072,
42
  "max_window_layers": 28,