mirror of
https://github.com/turboderp-org/exllamav2.git
synced 2026-03-15 00:07:26 +00:00
Fix small mistake in example
This commit is contained in:
@@ -60,7 +60,7 @@ def completion(prompt, filters = None, max_new_tokens = 200, eos_bias = False):
|
||||
|
||||
# If using a filter, sample the EOS token as soon as filter allows it
|
||||
|
||||
if len(filters) > 0: settings.filter_prefer_eos = True
|
||||
settings.filter_prefer_eos = eos_bias
|
||||
|
||||
# Send prompt to generator to begin stream
|
||||
|
||||
|
||||
Reference in New Issue
Block a user