Update predict.py
Browse files- predict.py +1 -1
predict.py
CHANGED
@@ -344,7 +344,7 @@ def predict(model, text, tokenizer=None,
|
|
344 |
template_map = {"AquilaChat2-7B": "aquila-v1",
|
345 |
"AquilaChat2-34B": "aquila-legacy",
|
346 |
"AquilaChat2-7B-16K": "aquila",
|
347 |
-
"AquilaChat2-34B-16K": "aquila
|
348 |
if not convo_template:
|
349 |
convo_template=template_map.get(model_name, "aquila-chat")
|
350 |
|
|
|
344 |
template_map = {"AquilaChat2-7B": "aquila-v1",
|
345 |
"AquilaChat2-34B": "aquila-legacy",
|
346 |
"AquilaChat2-7B-16K": "aquila",
|
347 |
+
"AquilaChat2-34B-16K": "aquila"}
|
348 |
if not convo_template:
|
349 |
convo_template=template_map.get(model_name, "aquila-chat")
|
350 |
|