system HF staff commited on
Commit
874e3da
1 Parent(s): bef42ce

Update config.json

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