oscarwang2 commited on
Commit
4668abf
1 Parent(s): 2913445

Create generation_config.json

Browse files
Files changed (1) hide show
  1. generation_config.json +10 -0
generation_config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "max_length": 512,
3
+ "num_beams": 5,
4
+ "no_repeat_ngram_size": 2,
5
+ "early_stopping": true,
6
+ "length_penalty": 1.0,
7
+ "top_k": 50,
8
+ "top_p": 0.95,
9
+ "temperature": 1.0
10
+ }