Saripudin commited on
Commit
b1cf452
1 Parent(s): e1ac5a5

add labels

Browse files
Files changed (1) hide show
  1. config.json +9 -1
config.json CHANGED
@@ -8,10 +8,18 @@
8
  "gradient_checkpointing": false,
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": "bert",
17
  "num_attention_heads": 12,
@@ -24,4 +32,4 @@
24
  "type_vocab_size": 2,
25
  "use_cache": true,
26
  "vocab_size": 30522
27
- }
 
8
  "gradient_checkpointing": false,
9
  "hidden_act": "gelu",
10
  "hidden_dropout_prob": 0.1,
11
+ "id2label": {
12
+ "0": "negative",
13
+ "1": "positive"
14
+ },
15
  "hidden_size": 768,
16
  "initializer_range": 0.02,
17
  "intermediate_size": 3072,
18
  "layer_norm_eps": 1e-12,
19
+ "label2id": {
20
+ "negative": 0,
21
+ "positive": 1
22
+ },
23
  "max_position_embeddings": 512,
24
  "model_type": "bert",
25
  "num_attention_heads": 12,
 
32
  "type_vocab_size": 2,
33
  "use_cache": true,
34
  "vocab_size": 30522
35
+ }