system HF staff commited on
Commit
6570e85
1 Parent(s): abef6b6

Update config.json

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