Upload BertForSequenceClassification
Browse files- config.json +20 -2
- pytorch_model.bin +2 -2
config.json
CHANGED
|
@@ -10,11 +10,29 @@
|
|
| 10 |
"hidden_dropout_prob": 0.1,
|
| 11 |
"hidden_size": 768,
|
| 12 |
"id2label": {
|
| 13 |
-
"0": "
|
| 14 |
-
"1": "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
},
|
| 16 |
"initializer_range": 0.02,
|
| 17 |
"intermediate_size": 3072,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
"layer_norm_eps": 1e-12,
|
| 19 |
"max_position_embeddings": 512,
|
| 20 |
"model_type": "bert",
|
|
|
|
| 10 |
"hidden_dropout_prob": 0.1,
|
| 11 |
"hidden_size": 768,
|
| 12 |
"id2label": {
|
| 13 |
+
"0": "CRIME",
|
| 14 |
+
"1": "CENSURE",
|
| 15 |
+
"2": "SEXUAL",
|
| 16 |
+
"3": "ABUSE",
|
| 17 |
+
"4": "IMMORAL_NONE",
|
| 18 |
+
"5": "IMMORAL",
|
| 19 |
+
"6": "HATE",
|
| 20 |
+
"7": "DISCRIMINATION",
|
| 21 |
+
"8": "VIOLENCE"
|
| 22 |
},
|
| 23 |
"initializer_range": 0.02,
|
| 24 |
"intermediate_size": 3072,
|
| 25 |
+
"label2id": {
|
| 26 |
+
"LABEL_0": 0,
|
| 27 |
+
"LABEL_1": 1,
|
| 28 |
+
"LABEL_2": 2,
|
| 29 |
+
"LABEL_3": 3,
|
| 30 |
+
"LABEL_4": 4,
|
| 31 |
+
"LABEL_5": 5,
|
| 32 |
+
"LABEL_6": 6,
|
| 33 |
+
"LABEL_7": 7,
|
| 34 |
+
"LABEL_8": 8
|
| 35 |
+
},
|
| 36 |
"layer_norm_eps": 1e-12,
|
| 37 |
"max_position_embeddings": 512,
|
| 38 |
"model_type": "bert",
|
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4da17d091e0053e0c16ba069ac50542a5d538bd67bdcc75fe12f613d5b5a55ad
|
| 3 |
+
size 368847989
|