Skip to content

Commit

Permalink
Update modeling_aquila.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ftgreat authored Oct 20, 2023
1 parent 13e7191 commit 5423044
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flagai/model/aquila2/modeling_aquila.py
Original file line number Diff line number Diff line change
Expand Up @@ -935,7 +935,7 @@ def predict(self, text, tokenizer=None,
template_map = {"AquilaChat2-7B": "aquila-v1",
"AquilaChat2-34B": "aquila-legacy",
"AquilaChat2-7B-16K": "aquila",
"AquilaChat2-34B-16K": "aquila-v1"}
"AquilaChat2-34B-16K": "aquila"}
if not convo_template:
convo_template=template_map.get(model_name, "aquila-chat")

Expand Down

0 comments on commit 5423044

Please sign in to comment.