Update config.json
Browse files- config.json +7 -7
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "/
|
3 |
"architectures": [
|
4 |
"BertForSequenceClassification"
|
5 |
],
|
@@ -11,16 +11,16 @@
|
|
11 |
"hidden_dropout_prob": 0.1,
|
12 |
"hidden_size": 768,
|
13 |
"id2label": {
|
14 |
-
"0": "
|
15 |
-
"1": "
|
16 |
-
"2": "
|
17 |
},
|
18 |
"initializer_range": 0.02,
|
19 |
"intermediate_size": 3072,
|
20 |
"label2id": {
|
21 |
-
"
|
22 |
-
"
|
23 |
-
"
|
24 |
},
|
25 |
"layer_norm_eps": 1e-05,
|
26 |
"max_position_embeddings": 514,
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "jiechau/adult-content-identify-text",
|
3 |
"architectures": [
|
4 |
"BertForSequenceClassification"
|
5 |
],
|
|
|
11 |
"hidden_dropout_prob": 0.1,
|
12 |
"hidden_size": 768,
|
13 |
"id2label": {
|
14 |
+
"0": "unknown",
|
15 |
+
"1": "adult_\u6210\u4eba\u5546\u54c1",
|
16 |
+
"2": "regular_\u4e00\u822c\u5546\u54c1"
|
17 |
},
|
18 |
"initializer_range": 0.02,
|
19 |
"intermediate_size": 3072,
|
20 |
"label2id": {
|
21 |
+
"adult_\u6210\u4eba\u5546\u54c1": 1,
|
22 |
+
"regular_\u4e00\u822c\u5546\u54c1": 2,
|
23 |
+
"unknown": 0
|
24 |
},
|
25 |
"layer_norm_eps": 1e-05,
|
26 |
"max_position_embeddings": 514,
|