fabhiansan commited on
Commit
80cafc2
·
verified ·
1 Parent(s): 3dc5369

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +10 -4
config.json CHANGED
@@ -1,11 +1,9 @@
1
  {
2
- "_num_labels": 5,
3
  "architectures": [
4
  "BertForSequenceClassification"
5
  ],
6
  "attention_probs_dropout_prob": 0.1,
7
  "classifier_dropout": null,
8
- "directionality": "bidi",
9
  "hidden_act": "gelu",
10
  "hidden_dropout_prob": 0.1,
11
  "hidden_size": 768,
@@ -16,7 +14,15 @@
16
  "model_type": "bert",
17
  "num_attention_heads": 12,
18
  "num_hidden_layers": 12,
19
- "output_past": true,
 
 
 
 
 
 
 
 
20
  "pad_token_id": 0,
21
  "pooler_fc_size": 768,
22
  "pooler_num_attention_heads": 12,
@@ -29,4 +35,4 @@
29
  "type_vocab_size": 2,
30
  "use_cache": true,
31
  "vocab_size": 50000
32
- }
 
1
  {
 
2
  "architectures": [
3
  "BertForSequenceClassification"
4
  ],
5
  "attention_probs_dropout_prob": 0.1,
6
  "classifier_dropout": null,
 
7
  "hidden_act": "gelu",
8
  "hidden_dropout_prob": 0.1,
9
  "hidden_size": 768,
 
14
  "model_type": "bert",
15
  "num_attention_heads": 12,
16
  "num_hidden_layers": 12,
17
+ "num_labels": 2,
18
+ "id2label": {
19
+ "0": "non-factual",
20
+ "1": "factual"
21
+ },
22
+ "label2id": {
23
+ "non-factual": 0,
24
+ "factual": 1
25
+ },
26
  "pad_token_id": 0,
27
  "pooler_fc_size": 768,
28
  "pooler_num_attention_heads": 12,
 
35
  "type_vocab_size": 2,
36
  "use_cache": true,
37
  "vocab_size": 50000
38
+ }