Rename additive_repetition_penalty to presence_penalty, add frequency_penalty (#4376)
This commit is contained in:
parent
ef1489cd4d
commit
72f6fc6923
14 changed files with 64 additions and 30 deletions
|
@ -146,6 +146,8 @@ class LlamaCppModel:
|
|||
top_p=state['top_p'],
|
||||
top_k=state['top_k'],
|
||||
repeat_penalty=state['repetition_penalty'],
|
||||
presence_penalty=state['presence_penalty'],
|
||||
frequency_penalty=state['frequency_penalty'],
|
||||
tfs_z=state['tfs'],
|
||||
mirostat_mode=int(state['mirostat_mode']),
|
||||
mirostat_tau=state['mirostat_tau'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue