Fix start of assistant message detection
This commit is contained in:
@@ -27,9 +27,6 @@ class QwQLlmEngine(LlmEngine):
|
||||
"""
|
||||
self._temperature = temperature
|
||||
|
||||
with open('/root/sia/qwq_tokenizer_config.json', 'r') as f:
|
||||
tokenizer_config = json.load(f)
|
||||
|
||||
quantization_config = BitsAndBytesConfig(
|
||||
load_in_4bit=True,
|
||||
bnb_4bit_compute_dtype=torch.bfloat16,
|
||||
@@ -47,7 +44,6 @@ class QwQLlmEngine(LlmEngine):
|
||||
|
||||
self._tokenizer = AutoTokenizer.from_pretrained(
|
||||
model_path,
|
||||
**tokenizer_config,
|
||||
)
|
||||
|
||||
self._pipeline = pipeline(
|
||||
|
||||
Reference in New Issue
Block a user