Add additive_repetition_penalty sampler setting. (#3627)

This commit is contained in:
tdrussell 2023-10-23 00:28:07 -05:00 committed by GitHub
parent 6086768309
commit 4440f87722
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 34 additions and 8 deletions

View file

@ -153,6 +153,7 @@ loaders_samplers = {
'tfs',
'top_a',
'repetition_penalty',
'additive_repetition_penalty',
'repetition_penalty_range',
'encoder_repetition_penalty',
'no_repeat_ngram_size',
@ -186,6 +187,7 @@ loaders_samplers = {
'tfs',
'top_a',
'repetition_penalty',
'additive_repetition_penalty',
'repetition_penalty_range',
'encoder_repetition_penalty',
'no_repeat_ngram_size',
@ -244,6 +246,7 @@ loaders_samplers = {
'tfs',
'top_a',
'repetition_penalty',
'additive_repetition_penalty',
'repetition_penalty_range',
'encoder_repetition_penalty',
'no_repeat_ngram_size',
@ -273,6 +276,7 @@ loaders_samplers = {
'tfs',
'top_a',
'repetition_penalty',
'additive_repetition_penalty',
'repetition_penalty_range',
'encoder_repetition_penalty',
'no_repeat_ngram_size',
@ -306,6 +310,7 @@ loaders_samplers = {
'tfs',
'top_a',
'repetition_penalty',
'additive_repetition_penalty',
'repetition_penalty_range',
'encoder_repetition_penalty',
'no_repeat_ngram_size',
@ -353,6 +358,7 @@ loaders_samplers = {
'tfs',
'top_a',
'repetition_penalty',
'additive_repetition_penalty',
'repetition_penalty_range',
'encoder_repetition_penalty',
'no_repeat_ngram_size',
@ -389,6 +395,7 @@ loaders_samplers = {
'tfs',
'top_a',
'repetition_penalty',
'additive_repetition_penalty',
'repetition_penalty_range',
'encoder_repetition_penalty',
'no_repeat_ngram_size',