Skip to content

Commit

Permalink
Credit turboderp
Browse files Browse the repository at this point in the history
  • Loading branch information
oobabooga committed Aug 6, 2023
1 parent 0af10ab commit d4b851b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/exllama.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ def generate_with_streaming(self, prompt, state):
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 '']
Expand Down

0 comments on commit d4b851b

Please sign in to comment.