mirror of
https://github.com/theroyallab/tabbyAPI.git
synced 2026-04-25 00:39:10 +00:00
Merge pull request #346 from gakada/main
Exl3: some models aren't functional without add_bos?
This commit is contained in:
@@ -844,7 +844,7 @@ class ExllamaV3Container(BaseModelContainer):
|
|||||||
job = AsyncJob(
|
job = AsyncJob(
|
||||||
self.generator,
|
self.generator,
|
||||||
sampler=sampler,
|
sampler=sampler,
|
||||||
input_ids=self.tokenizer.encode(prompt, add_bos=False),
|
input_ids=input_ids,
|
||||||
max_new_tokens=max_tokens,
|
max_new_tokens=max_tokens,
|
||||||
stop_conditions=stop_conditions,
|
stop_conditions=stop_conditions,
|
||||||
banned_strings=params.banned_strings,
|
banned_strings=params.banned_strings,
|
||||||
|
|||||||
Reference in New Issue
Block a user