Rename additive_repetition_penalty to presence_penalty, add frequency_penalty (#4376)

This commit is contained in:
tdrussell 2023-10-25 10:10:28 -05:00 committed by GitHub
parent ef1489cd4d
commit 72f6fc6923
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 64 additions and 30 deletions

View file

@ -16,7 +16,8 @@ def default_preset():
'tfs': 1,
'top_a': 0,
'repetition_penalty': 1,
'additive_repetition_penalty': 0,
'presence_penalty': 0,
'frequency_penalty': 0,
'repetition_penalty_range': 0,
'encoder_repetition_penalty': 1,
'no_repeat_ngram_size': 0,