fix
This commit is contained in:
parent
123531059e
commit
565c4ca1bc
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ def generate(llm, system_prompt, user_prompt):
|
|||
seed=42,
|
||||
reset=True, # reset history (cache)
|
||||
stream=True, # streaming per word/token
|
||||
threads=os.cpu_count() / 2, # adjust for your CPU
|
||||
threads=int(os.cpu_count() / 2), # adjust for your CPU
|
||||
stop=["<|im_end|>", "|<"],
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue