system HF staff commited on
Commit
65b09a5
1 Parent(s): 37492e5

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +2 -27
config.json CHANGED
@@ -1,51 +1,26 @@
1
  {
2
- "_num_labels": 2,
3
  "architectures": [
4
  "BertForQuestionAnswering"
5
  ],
6
  "attention_probs_dropout_prob": 0.1,
7
- "bos_token_id": null,
8
  "directionality": "bidi",
9
- "do_sample": false,
10
- "finetuning_task": null,
11
  "hidden_act": "gelu",
12
  "hidden_dropout_prob": 0.1,
13
  "hidden_size": 768,
14
- "id2label": {
15
- "0": "LABEL_0",
16
- "1": "LABEL_1"
17
- },
18
  "initializer_range": 0.02,
19
  "intermediate_size": 3072,
20
- "is_decoder": false,
21
- "label2id": {
22
- "LABEL_0": 0,
23
- "LABEL_1": 1
24
- },
25
  "layer_norm_eps": 1e-12,
26
- "length_penalty": 1.0,
27
- "max_length": 20,
28
  "max_position_embeddings": 512,
29
  "model_type": "bert",
30
  "num_attention_heads": 12,
31
- "num_beams": 1,
32
  "num_hidden_layers": 12,
33
- "num_return_sequences": 1,
34
- "output_attentions": false,
35
- "output_hidden_states": false,
36
  "output_past": true,
 
37
  "pooler_fc_size": 768,
38
  "pooler_num_attention_heads": 12,
39
  "pooler_num_fc_layers": 3,
40
  "pooler_size_per_head": 128,
41
  "pooler_type": "first_token_transform",
42
- "pruned_heads": {},
43
- "repetition_penalty": 1.0,
44
- "temperature": 1.0,
45
- "top_k": 50,
46
- "top_p": 1.0,
47
- "torchscript": false,
48
  "type_vocab_size": 2,
49
- "use_bfloat16": false,
50
  "vocab_size": 119547
51
- }
 
1
  {
 
2
  "architectures": [
3
  "BertForQuestionAnswering"
4
  ],
5
  "attention_probs_dropout_prob": 0.1,
 
6
  "directionality": "bidi",
 
 
7
  "hidden_act": "gelu",
8
  "hidden_dropout_prob": 0.1,
9
  "hidden_size": 768,
 
 
 
 
10
  "initializer_range": 0.02,
11
  "intermediate_size": 3072,
 
 
 
 
 
12
  "layer_norm_eps": 1e-12,
 
 
13
  "max_position_embeddings": 512,
14
  "model_type": "bert",
15
  "num_attention_heads": 12,
 
16
  "num_hidden_layers": 12,
 
 
 
17
  "output_past": true,
18
+ "pad_token_id": 0,
19
  "pooler_fc_size": 768,
20
  "pooler_num_attention_heads": 12,
21
  "pooler_num_fc_layers": 3,
22
  "pooler_size_per_head": 128,
23
  "pooler_type": "first_token_transform",
 
 
 
 
 
 
24
  "type_vocab_size": 2,
 
25
  "vocab_size": 119547
26
+ }