huseinzol05 commited on
Commit
dc4a3e4
1 Parent(s): 59764b5

Upload MistralForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +18 -17
  2. model.safetensors +2 -2
config.json CHANGED
@@ -12,26 +12,26 @@
12
  "hidden_act": "silu",
13
  "hidden_size": 768,
14
  "id2label": {
15
- "0": "racist",
16
- "1": "religion insult",
17
- "2": "psychiatric or mental illness",
18
- "3": "sexist",
19
- "4": "harassment",
20
- "5": "informative",
21
- "6": "safe for work",
22
- "7": "hate"
23
  },
24
  "initializer_range": 0.02,
25
  "intermediate_size": 3072,
26
  "label2id": {
27
- "harassment": 4,
28
- "hate": 7,
29
- "informative": 5,
30
- "psychiatric or mental illness": 2,
31
- "racist": 0,
32
- "religion insult": 1,
33
- "safe for work": 6,
34
- "sexist": 3
35
  },
36
  "max_position_embeddings": 4096,
37
  "model_type": "mistral",
@@ -54,7 +54,8 @@
54
  "sexist",
55
  "harassment",
56
  "porn",
57
- "safe for work"
 
58
  ],
59
  "vocab_size": 32000
60
  }
 
12
  "hidden_act": "silu",
13
  "hidden_size": 768,
14
  "id2label": {
15
+ "0": "LABEL_0",
16
+ "1": "LABEL_1",
17
+ "2": "LABEL_2",
18
+ "3": "LABEL_3",
19
+ "4": "LABEL_4",
20
+ "5": "LABEL_5",
21
+ "6": "LABEL_6",
22
+ "7": "LABEL_7"
23
  },
24
  "initializer_range": 0.02,
25
  "intermediate_size": 3072,
26
  "label2id": {
27
+ "LABEL_0": 0,
28
+ "LABEL_1": 1,
29
+ "LABEL_2": 2,
30
+ "LABEL_3": 3,
31
+ "LABEL_4": 4,
32
+ "LABEL_5": 5,
33
+ "LABEL_6": 6,
34
+ "LABEL_7": 7
35
  },
36
  "max_position_embeddings": 4096,
37
  "model_type": "mistral",
 
54
  "sexist",
55
  "harassment",
56
  "porn",
57
+ "safe for work",
58
+ "self-harm"
59
  ],
60
  "vocab_size": 32000
61
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2f11ad64311a40128cb176a5290f925d53100e661a427da5c8445d8c613e0d6f
3
- size 664674264
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3740a7bfd6187510119efc63205a9c73e2f00a6796840bdb1e0fd61eff8b251e
3
+ size 664677336