Add repetition_penalty_range to ctransformers
This commit is contained in:
parent
7a4fcee069
commit
28c8df337b
2 changed files with 2 additions and 1 deletions
|
@ -56,6 +56,7 @@ class CtransformersModel:
|
|||
top_p=state['top_p'],
|
||||
top_k=state['top_k'],
|
||||
repetition_penalty=state['repetition_penalty'],
|
||||
last_n_tokens=state['repetition_penalty_range'],
|
||||
threads=shared.args.threads
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue