g8a9 commited on
Commit
2bb477f
1 Parent(s): 9cf716e

Update config.json

Browse files

The PR adds `id2label` and `label2id` to the model config, normally used to verbalize argmax-ed logits.

Files changed (1) hide show
  1. config.json +8 -0
config.json CHANGED
@@ -6,6 +6,14 @@
6
  "attention_probs_dropout_prob": 0.1,
7
  "bos_token_id": 5,
8
  "classifier_dropout": null,
 
 
 
 
 
 
 
 
9
  "eos_token_id": 6,
10
  "hidden_act": "gelu",
11
  "hidden_dropout_prob": 0.1,
 
6
  "attention_probs_dropout_prob": 0.1,
7
  "bos_token_id": 5,
8
  "classifier_dropout": null,
9
+ "id2label": {
10
+ "0": "neutral",
11
+ "1": "gendered"
12
+ },
13
+ "label2id": {
14
+ "gendered": 1,
15
+ "neutral": 0
16
+ },
17
  "eos_token_id": 6,
18
  "hidden_act": "gelu",
19
  "hidden_dropout_prob": 0.1,