mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-22 16:17:57 +01:00
Fix ctransformers seed
This commit is contained in:
parent
919a3cf9d0
commit
f6db2c78d1
@ -56,7 +56,7 @@ class CtransformersModel:
|
|||||||
top_k=state['top_k'],
|
top_k=state['top_k'],
|
||||||
repetition_penalty=state['repetition_penalty'],
|
repetition_penalty=state['repetition_penalty'],
|
||||||
last_n_tokens=state['repetition_penalty_range'],
|
last_n_tokens=state['repetition_penalty_range'],
|
||||||
seed=state['seed']
|
seed=int(state['seed'])
|
||||||
)
|
)
|
||||||
|
|
||||||
output = ""
|
output = ""
|
||||||
|
Loading…
Reference in New Issue
Block a user