Update chain_setup.py
Browse files- chain_setup.py +1 -2
chain_setup.py
CHANGED
@@ -23,14 +23,13 @@ def load_llm():
|
|
23 |
chat_format="chatml",
|
24 |
grammar="",
|
25 |
streaming=True,
|
26 |
-
grammar_path="", # ensure this file exists and is empty
|
27 |
use_jinja=False,
|
28 |
rope_freq_base=10000.0,
|
29 |
rope_freq_scale=1.0,
|
30 |
use_mmap=True,
|
31 |
last_n_tokens_size=64,
|
32 |
echo=False,
|
33 |
-
# max_tokens= ,
|
34 |
repeat_penalty=1.1,
|
35 |
temperature=0.8,
|
36 |
top_k=40,
|
|
|
23 |
chat_format="chatml",
|
24 |
grammar="",
|
25 |
streaming=True,
|
26 |
+
grammar_path="empty.jinja", # ensure this file exists and is empty
|
27 |
use_jinja=False,
|
28 |
rope_freq_base=10000.0,
|
29 |
rope_freq_scale=1.0,
|
30 |
use_mmap=True,
|
31 |
last_n_tokens_size=64,
|
32 |
echo=False,
|
|
|
33 |
repeat_penalty=1.1,
|
34 |
temperature=0.8,
|
35 |
top_k=40,
|