gabehubner commited on
Commit
05424f1
·
verified ·
1 Parent(s): 9aad6dd

Update label mappings

Browse files
Files changed (1) hide show
  1. config.json +4 -4
config.json CHANGED
@@ -1,9 +1,7 @@
1
  {
2
  "_name_or_path": "distilbert-base-uncased",
3
  "activation": "gelu",
4
- "architectures": [
5
- "DistilBertForSequenceClassification"
6
- ],
7
  "attention_dropout": 0.1,
8
  "dim": 768,
9
  "dropout": 0.1,
@@ -21,5 +19,7 @@
21
  "tie_weights_": true,
22
  "torch_dtype": "float32",
23
  "transformers_version": "4.48.3",
24
- "vocab_size": 30522
 
 
25
  }
 
1
  {
2
  "_name_or_path": "distilbert-base-uncased",
3
  "activation": "gelu",
4
+ "architectures": ["DistilBertForSequenceClassification"],
 
 
5
  "attention_dropout": 0.1,
6
  "dim": 768,
7
  "dropout": 0.1,
 
19
  "tie_weights_": true,
20
  "torch_dtype": "float32",
21
  "transformers_version": "4.48.3",
22
+ "vocab_size": 30522,
23
+ "label2id": {"negative": 0, "positive": 1},
24
+ "id2label": {"0": "negative", "1": "positive"}
25
  }