Update config.json
Browse files- config.json +4 -4
config.json
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
],
|
12 |
"attn_pdrop": 0.1,
|
13 |
"bad_words_ids": null,
|
14 |
-
"bos_token_id":
|
15 |
"chunk_size_feed_forward": 0,
|
16 |
"decoder_start_token_id": null,
|
17 |
"diversity_penalty": 0.0,
|
@@ -19,7 +19,7 @@
|
|
19 |
"early_stopping": false,
|
20 |
"embd_pdrop": 0.1,
|
21 |
"encoder_no_repeat_ngram_size": 0,
|
22 |
-
"eos_token_id":
|
23 |
"finetuning_task": null,
|
24 |
"forced_bos_token_id": null,
|
25 |
"forced_eos_token_id": null,
|
@@ -37,7 +37,7 @@
|
|
37 |
},
|
38 |
"layer_norm_epsilon": 1e-05,
|
39 |
"length_penalty": 1.0,
|
40 |
-
"max_length":
|
41 |
"min_length": 0,
|
42 |
"model_type": "gpt2",
|
43 |
"n_ctx": 1024,
|
@@ -48,7 +48,7 @@
|
|
48 |
"n_positions": 1024,
|
49 |
"no_repeat_ngram_size": 0,
|
50 |
"num_beam_groups": 1,
|
51 |
-
"num_beams":
|
52 |
"num_return_sequences": 1,
|
53 |
"output_attentions": false,
|
54 |
"output_hidden_states": false,
|
|
|
11 |
],
|
12 |
"attn_pdrop": 0.1,
|
13 |
"bad_words_ids": null,
|
14 |
+
"bos_token_id": 101,
|
15 |
"chunk_size_feed_forward": 0,
|
16 |
"decoder_start_token_id": null,
|
17 |
"diversity_penalty": 0.0,
|
|
|
19 |
"early_stopping": false,
|
20 |
"embd_pdrop": 0.1,
|
21 |
"encoder_no_repeat_ngram_size": 0,
|
22 |
+
"eos_token_id": 102,
|
23 |
"finetuning_task": null,
|
24 |
"forced_bos_token_id": null,
|
25 |
"forced_eos_token_id": null,
|
|
|
37 |
},
|
38 |
"layer_norm_epsilon": 1e-05,
|
39 |
"length_penalty": 1.0,
|
40 |
+
"max_length": 256,
|
41 |
"min_length": 0,
|
42 |
"model_type": "gpt2",
|
43 |
"n_ctx": 1024,
|
|
|
48 |
"n_positions": 1024,
|
49 |
"no_repeat_ngram_size": 0,
|
50 |
"num_beam_groups": 1,
|
51 |
+
"num_beams": 3,
|
52 |
"num_return_sequences": 1,
|
53 |
"output_attentions": false,
|
54 |
"output_hidden_states": false,
|