赞
踩
略
https://github.com/hiyouga/LLaMA-Factory
pip3 install -r requirements.txt
(3)启动LLaMA-Factory的web页面
CUDA_VISIBLE_DEVICES=0 python src/train_web.py
得到如下页面:

设置如下参数,点击开始即可:

点击“预览命令”,可以看到要执行的python脚本,如下所示:
CUDA_VISIBLE_DEVICES=0 python src/train_bash.py \
--stage sft \
--do_train \
--model_name_or_path /root/LLaMA-Factory-main/chatglm3\
--dataset alpaca_gpt4_zh \
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。