mirror of
https://github.com/theroyallab/tabbyAPI.git
synced 2026-03-15 00:07:28 +00:00
Fix: Properly handle banned_strings and decode_special tokens (#104)
* Fix: Actually pass banned_strings to the generation call. * decode_special_tokens was missing as well. * syntax
This commit is contained in:
@@ -919,6 +919,8 @@ class ExllamaV2Container:
|
||||
"return_top_tokens": request_logprobs,
|
||||
"return_logits": request_logprobs > 0,
|
||||
"abort_event": abort_event,
|
||||
"banned_strings": banned_strings,
|
||||
"decode_special_tokens": decode_special_tokens,
|
||||
}
|
||||
|
||||
if self.use_cfg:
|
||||
|
||||
Reference in New Issue
Block a user