Add additive_repetition_penalty sampler setting. (#3627)
This commit is contained in:
parent
6086768309
commit
4440f87722
13 changed files with 34 additions and 8 deletions
|
@ -16,6 +16,7 @@ def default_preset():
|
|||
'tfs': 1,
|
||||
'top_a': 0,
|
||||
'repetition_penalty': 1,
|
||||
'additive_repetition_penalty': 0,
|
||||
'repetition_penalty_range': 0,
|
||||
'encoder_repetition_penalty': 1,
|
||||
'no_repeat_ngram_size': 0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue