osanseviero nbroad HF staff commited on
Commit
cd6fd03
1 Parent(s): 2de46c8

Put labels so widget shows which scores correspond with each label (#4)

Browse files

- Put labels so widget shows which scores correspond with each label (7763e19db141fbdb035db553d30375816b02a641)


Co-authored-by: Nicholas Broad <nbroad@users.noreply.huggingface.co>

Files changed (1) hide show
  1. config.json +8 -0
config.json CHANGED
@@ -8,8 +8,16 @@
8
  "hidden_act": "gelu",
9
  "hidden_dropout_prob": 0.1,
10
  "hidden_size": 768,
 
 
 
 
11
  "initializer_range": 0.02,
12
  "intermediate_size": 3072,
 
 
 
 
13
  "layer_norm_eps": 1e-05,
14
  "max_position_embeddings": 514,
15
  "model_type": "roberta",
 
8
  "hidden_act": "gelu",
9
  "hidden_dropout_prob": 0.1,
10
  "hidden_size": 768,
11
+ "id2label": {
12
+ "0": "Fake",
13
+ "1": "Real"
14
+ },
15
  "initializer_range": 0.02,
16
  "intermediate_size": 3072,
17
+ "label2id": {
18
+ "Fake": 0,
19
+ "Real": 1
20
+ },
21
  "layer_norm_eps": 1e-05,
22
  "max_position_embeddings": 514,
23
  "model_type": "roberta",