Upload generation_config.json with huggingface_hub
Browse files- generation_config.json +45 -0
generation_config.json
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"bos_token_id": 1,
|
| 4 |
+
"eos_token_id": 2,
|
| 5 |
+
"pad_token_id": null,
|
| 6 |
+
"do_sample": true,
|
| 7 |
+
"max_length": 4096,
|
| 8 |
+
"max_new_tokens": 256,
|
| 9 |
+
"min_length": 0,
|
| 10 |
+
"min_new_tokens": null,
|
| 11 |
+
"early_stopping": false,
|
| 12 |
+
"max_time": null,
|
| 13 |
+
"num_beams": 1,
|
| 14 |
+
"num_beam_groups": 1,
|
| 15 |
+
"diversity_penalty": 0.0,
|
| 16 |
+
"num_return_sequences": 1,
|
| 17 |
+
"output_attentions": false,
|
| 18 |
+
"output_hidden_states": false,
|
| 19 |
+
"output_scores": false,
|
| 20 |
+
"return_dict_in_generate": false,
|
| 21 |
+
"repetition_penalty": 1.0,
|
| 22 |
+
"no_repeat_ngram_size": null,
|
| 23 |
+
"renormalize_logits": false,
|
| 24 |
+
"remove_invalid_values": false,
|
| 25 |
+
"top_k": 40,
|
| 26 |
+
"top_p": 0.9,
|
| 27 |
+
"temperature": 0.3,
|
| 28 |
+
"typical_p": 1.0,
|
| 29 |
+
"epsilon_cutoff": 0.0,
|
| 30 |
+
"eta_cutoff": 0.0,
|
| 31 |
+
"diversity_penalty": 0.0,
|
| 32 |
+
"num_return_sequences": 1,
|
| 33 |
+
"length_penalty": 1.0,
|
| 34 |
+
"bad_words_ids": null,
|
| 35 |
+
"force_words_ids": null,
|
| 36 |
+
"renormalize_logits": false,
|
| 37 |
+
"constraints": null,
|
| 38 |
+
"forced_bos_token_id": null,
|
| 39 |
+
"forced_eos_token_id": null,
|
| 40 |
+
"remove_invalid_values": false,
|
| 41 |
+
"exponential_decay_length_penalty": null,
|
| 42 |
+
"suppress_tokens": null,
|
| 43 |
+
"begin_suppress_tokens": null,
|
| 44 |
+
"forced_decoder_ids": null
|
| 45 |
+
}
|