michellejieli commited on
Commit
fd0e65f
1 Parent(s): bf40fc6

update config to rename labels

Browse files
Files changed (1) hide show
  1. config.json +9 -1
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "distilbert-base-uncased",
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,
 
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": "SFW",
13
+ "1": "NSFW"
14
+ },
15
  "initializer_range": 0.02,
16
+ "label2id": {
17
+ "NSFW": 1,
18
+ "SFW": 0
19
+ },
20
  "max_position_embeddings": 512,
21
  "model_type": "distilbert",
22
  "n_heads": 12,