Skip to content

Commit

Permalink
Rename Aquila2 70B names.
Browse files Browse the repository at this point in the history
Signed-off-by: ldwang <[email protected]>
  • Loading branch information
ldwang committed Nov 29, 2023
1 parent 78a08ef commit 1c03300
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion flagai/model/aquila2/modeling_aquila.py
Original file line number Diff line number Diff line change
Expand Up @@ -934,7 +934,7 @@ def predict(self, text, tokenizer=None,

template_map = {"AquilaChat2-7B": "aquila-v1",
"AquilaChat2-34B": "aquila-legacy",
"AquilaChat2-70B": "aquila-v2",
"AquilaChat2-70B-Expr": "aquila-v2",
"AquilaChat2-7B-16K": "aquila",
"AquilaChat2-34B-16K": "aquila"}
if not convo_template:
Expand Down
2 changes: 1 addition & 1 deletion flagai/model/aquila2_hf/predict.py
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ def predict(model, text, tokenizer=None,

template_map = {"AquilaChat2-7B": "aquila-v1",
"AquilaChat2-34B": "aquila-legacy",
"AquilaChat2-70B": "aquila-v2",
"AquilaChat2-70B-Expr": "aquila-v2",
"AquilaChat2-7B-16K": "aquila",
"AquilaChat2-34B-16K": "aquila"}
if not convo_template:
Expand Down

0 comments on commit 1c03300

Please sign in to comment.