michellejieli
commited on
Commit
•
327f5ef
1
Parent(s):
af9a9d3
Update config.json by changing label outputs
Browse files- config.json +10 -2
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"activation": "gelu",
|
4 |
"architectures": [
|
5 |
"DistilBertForSequenceClassification"
|
@@ -8,7 +8,15 @@
|
|
8 |
"dim": 768,
|
9 |
"dropout": 0.1,
|
10 |
"hidden_dim": 3072,
|
|
|
|
|
|
|
|
|
11 |
"initializer_range": 0.02,
|
|
|
|
|
|
|
|
|
12 |
"max_position_embeddings": 512,
|
13 |
"model_type": "distilbert",
|
14 |
"n_heads": 12,
|
@@ -22,4 +30,4 @@
|
|
22 |
"torch_dtype": "float32",
|
23 |
"transformers_version": "4.22.2",
|
24 |
"vocab_size": 30522
|
25 |
-
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "michellejieli/NSFW_text_classifier",
|
3 |
"activation": "gelu",
|
4 |
"architectures": [
|
5 |
"DistilBertForSequenceClassification"
|
|
|
8 |
"dim": 768,
|
9 |
"dropout": 0.1,
|
10 |
"hidden_dim": 3072,
|
11 |
+
"id2label": {
|
12 |
+
"0": "NSFW",
|
13 |
+
"1": "SFW"
|
14 |
+
},
|
15 |
"initializer_range": 0.02,
|
16 |
+
"label2id": {
|
17 |
+
"NSFW": 0,
|
18 |
+
"SFW": 1
|
19 |
+
},
|
20 |
"max_position_embeddings": 512,
|
21 |
"model_type": "distilbert",
|
22 |
"n_heads": 12,
|
|
|
30 |
"torch_dtype": "float32",
|
31 |
"transformers_version": "4.22.2",
|
32 |
"vocab_size": 30522
|
33 |
+
}
|