5roop commited on
Commit
0b1cdbe
1 Parent(s): c1cec77

Add label mapping to config

Browse files
Files changed (1) hide show
  1. config.json +8 -0
config.json CHANGED
@@ -9,9 +9,17 @@
9
  "hidden_act": "gelu",
10
  "hidden_dropout_prob": 0.1,
11
  "hidden_size": 768,
 
 
 
 
12
  "initializer_range": 0.02,
13
  "intermediate_size": 3072,
14
  "layer_norm_eps": 1e-12,
 
 
 
 
15
  "max_position_embeddings": 512,
16
  "model_type": "electra",
17
  "num_attention_heads": 12,
 
9
  "hidden_act": "gelu",
10
  "hidden_dropout_prob": 0.1,
11
  "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "Negative",
14
+ "1": "Other"
15
+ },
16
  "initializer_range": 0.02,
17
  "intermediate_size": 3072,
18
  "layer_norm_eps": 1e-12,
19
+ "label2id": {
20
+ "Negative": 0,
21
+ "Other": 1
22
+ },
23
  "max_position_embeddings": 512,
24
  "model_type": "electra",
25
  "num_attention_heads": 12,