forked from modelscope/ms-swift
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request modelscope#3 from modelscope/feat/support_qwen_sft
support qwen sft
- Loading branch information
Showing
7 changed files
with
55 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
CUDA_VISIBLE_DEVICES=0,1 \ | ||
python llm_infer.py \ | ||
--model_type openbuddy-llama2-13b \ | ||
--ckpt_dir "runs/openbuddy-llama2-13b/vx_xxx/checkpoint-xxx" \ | ||
--eval_human true | ||
--model_type qwen-7b \ | ||
--ckpt_dir "qwen-7b/vx_xxx/checkpoint-xxx" \ | ||
--eval_human true \ | ||
--dataset_sample 20000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
CUDA_VISIBLE_DEVICES=0,1 \ | ||
python llm_sft.py \ | ||
--model_type openbuddy-llama2-13b \ | ||
--model_type qwen-7b \ | ||
--dataset alpaca-en,alpaca-zh \ | ||
--dataset_sample 20000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters