mirror of
https://github.com/theroyallab/tabbyAPI.git
synced 2026-04-29 02:31:48 +00:00
Model: Always enable decode_special_tokens
The frontend should handle the special tokens if they get emitted. Signed-off-by: kingbri <8082010+kingbri1@users.noreply.github.com>
This commit is contained in:
@@ -1373,6 +1373,7 @@ class ExllamaV2Container(BaseModelContainer):
|
|||||||
min_new_tokens=params.min_tokens,
|
min_new_tokens=params.min_tokens,
|
||||||
gen_settings=gen_settings,
|
gen_settings=gen_settings,
|
||||||
stop_conditions=stop_conditions,
|
stop_conditions=stop_conditions,
|
||||||
|
decode_special_tokens=True,
|
||||||
filters=grammar_handler.filters,
|
filters=grammar_handler.filters,
|
||||||
filter_prefer_eos=bool(grammar_handler.filters),
|
filter_prefer_eos=bool(grammar_handler.filters),
|
||||||
return_probs=params.logprobs > 0,
|
return_probs=params.logprobs > 0,
|
||||||
|
|||||||
Reference in New Issue
Block a user