mirror of
https://github.com/theroyallab/tabbyAPI.git
synced 2026-03-14 15:57:27 +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(
|
||||
self.generator,
|
||||
sampler=sampler,
|
||||
input_ids=self.tokenizer.encode(prompt, add_bos=False),
|
||||
input_ids=input_ids,
|
||||
max_new_tokens=max_tokens,
|
||||
stop_conditions=stop_conditions,
|
||||
banned_strings=params.banned_strings,
|
||||
|
||||
Reference in New Issue
Block a user