JiaqiLee commited on
Commit
44c8c18
1 Parent(s): 7fd10ff

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +10 -3
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "/home/zengrui/zengrui/nlp_backdoor_models/combination-lock-jigsaw/backdoor-bert-base-uncased-poison-ratio-10-percent-target-0-model-id-3",
3
  "architectures": [
4
  "BertForSequenceClassification"
5
  ],
@@ -18,10 +18,17 @@
18
  "num_hidden_layers": 12,
19
  "pad_token_id": 0,
20
  "position_embedding_type": "absolute",
21
- "return_dict": false,
22
  "torch_dtype": "float32",
23
  "transformers_version": "4.11.3",
24
  "type_vocab_size": 2,
25
  "use_cache": true,
26
- "vocab_size": 30522
 
 
 
 
 
 
 
 
27
  }
 
1
  {
2
+ "_name_or_path": "JiaqiLee/robust-bert-jigsaw",
3
  "architectures": [
4
  "BertForSequenceClassification"
5
  ],
 
18
  "num_hidden_layers": 12,
19
  "pad_token_id": 0,
20
  "position_embedding_type": "absolute",
 
21
  "torch_dtype": "float32",
22
  "transformers_version": "4.11.3",
23
  "type_vocab_size": 2,
24
  "use_cache": true,
25
+ "vocab_size": 30522,
26
+ "id2label": {
27
+ "0": "non-toxic",
28
+ "1": "toxic"
29
+ },
30
+ "label2id": {
31
+ "non-toxic": 0,
32
+ "toxic": 1
33
+ }
34
  }