mirror of
https://github.com/modelscope/modelscope.git
synced 2025-12-23 19:49:24 +01:00
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/13131145 * support llama + lora without deepspeed * feat: Fix conflict, auto commit by WebIDE
8 lines
219 B
Bash
8 lines
219 B
Bash
export PYTHONPATH=$PYTHONPATH:./
|
|
torchrun examples/pytorch/llama/finetune_llama.py \
|
|
--work_dir './tmp' \
|
|
--model 'skyline2006/llama-7b' \
|
|
--eval_interval 100 \
|
|
--use_lora 1 \
|
|
--device_map 'auto' \
|