数据集
报错信息
执行:OMP_NUM_THREADS=1 torchrun --standalone --nnodes=1 --nproc_per_node=8 finetune_hf.py data/AdvertiseGen/ THUDM/chatglm3-6b configs/lora.yaml --deepspeed ds_zero_2.json
报错:No such option: --deepspeed
解决方案
修改configs/lora.yaml文件,deepspeed: /绝对路径/ds_zero_2.json
重新执行命令(删掉 --deepspeed):OMP_NUM_THREADS=1 torchrun --standalone --nnodes=1 --nproc_per_node=8 finetune_hf.py data/AdvertiseGen/ THUDM/chatglm3-6b configs/lora.yaml