Skip to content

Commit

Permalink
Fix convert qwen2 to turbomind (#1546)
Browse files Browse the repository at this point in the history
  • Loading branch information
AllentDan authored May 6, 2024
1 parent 499b75b commit c9df8c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lmdeploy/turbomind/deploy/converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def copy_tokenizer(model_path: str, tokenizer_path: str,
'please specify tokenizer path by --tokenizer-path')

# move tokenizer model to the target path
candidate = ['tokenizer.model', 'qwen.tiktoken']
candidate = ['tokenizer.model', 'qwen.tiktoken', 'merges.txt']
for name in candidate:
tmp_path = osp.join(model_path, name)
if osp.exists(tmp_path):
Expand Down

0 comments on commit c9df8c9

Please sign in to comment.