mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-22 08:07:56 +01:00
Credit turboderp
This commit is contained in:
parent
0af10ab49b
commit
d4b851bdc8
@ -136,6 +136,7 @@ class ExllamaModel:
|
|||||||
break
|
break
|
||||||
|
|
||||||
# Case 2: CFG
|
# Case 2: CFG
|
||||||
|
# Copied from https://github.com/turboderp/exllama/blob/master/example_cfg.py
|
||||||
else:
|
else:
|
||||||
alpha = state['guidance_scale']
|
alpha = state['guidance_scale']
|
||||||
prompts = [prompt, state['negative_prompt'] or '']
|
prompts = [prompt, state['negative_prompt'] or '']
|
||||||
|
Loading…
Reference in New Issue
Block a user