BAAI
/

ldwang commited on
Commit
b0e9c7f
1 Parent(s): 944391d

Update predict.py

Browse files
Files changed (1) hide show
  1. 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-v1"}
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