michellejieli
commited on
Commit
•
b875214
1
Parent(s):
327f5ef
Change label names
Browse files- config.json +5 -5
config.json
CHANGED
@@ -9,13 +9,13 @@
|
|
9 |
"dropout": 0.1,
|
10 |
"hidden_dim": 3072,
|
11 |
"id2label": {
|
12 |
-
"0": "
|
13 |
-
"1": "
|
14 |
},
|
15 |
"initializer_range": 0.02,
|
16 |
"label2id": {
|
17 |
-
"
|
18 |
-
"
|
19 |
},
|
20 |
"max_position_embeddings": 512,
|
21 |
"model_type": "distilbert",
|
@@ -30,4 +30,4 @@
|
|
30 |
"torch_dtype": "float32",
|
31 |
"transformers_version": "4.22.2",
|
32 |
"vocab_size": 30522
|
33 |
-
}
|
|
|
9 |
"dropout": 0.1,
|
10 |
"hidden_dim": 3072,
|
11 |
"id2label": {
|
12 |
+
"0": "SFW",
|
13 |
+
"1": "NSFW"
|
14 |
},
|
15 |
"initializer_range": 0.02,
|
16 |
"label2id": {
|
17 |
+
"SFW": 0,
|
18 |
+
"NSFW": 1
|
19 |
},
|
20 |
"max_position_embeddings": 512,
|
21 |
"model_type": "distilbert",
|
|
|
30 |
"torch_dtype": "float32",
|
31 |
"transformers_version": "4.22.2",
|
32 |
"vocab_size": 30522
|
33 |
+
}
|