pszemraj commited on
Commit
621ada4
1 Parent(s): 83f11b6

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +3 -1
config.json CHANGED
@@ -36,7 +36,9 @@
36
  "task_specific_params": {
37
  "text-generation": {
38
  "do_sample": true,
39
- "max_length": 50
 
 
40
  }
41
  },
42
  "torch_dtype": "float32",
 
36
  "task_specific_params": {
37
  "text-generation": {
38
  "do_sample": true,
39
+ "no_repeat_ngram_size": 2,
40
+ "repetition_penalty": 4.5,
41
+ "max_length": 48
42
  }
43
  },
44
  "torch_dtype": "float32",