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