mirror of
https://github.com/modelscope/modelscope.git
synced 2025-12-24 03:59:23 +01:00
添加QWen 7b base模型和chat模型及相关pipelines Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/13482235 * add qwen 7b base and chat * fix logger * update examples, lint test * add unittest for qwen base and chat * rename qwen to qwen-7b * resolve imports and add a registry to text-generation * reset load model from pretrained * fix precheck * skip qwen test case now * remove strange file
7 lines
161 B
Bash
7 lines
161 B
Bash
CUDA_VISIBLE_DEVICES=0,1 \
|
|
python llm_sft.py \
|
|
--model_type qwen-7b \
|
|
--output_dir runs \
|
|
--dataset alpaca-en,alpaca-zh \
|
|
--dataset_sample 20000
|