Spaces:
Runtime error
Runtime error
!CUDA_VISIBLE_DEVICES=0 python src/train_bash.py \ | |
--stage sft \ | |
--model_name_or_path "ziqingyang/chinese-alpaca-2-7b" \ | |
--do_train \ | |
--dataset mydata \ | |
--template default \ | |
--finetuning_type lora \ | |
--lora_target q_proj,v_proj \ | |
--output_dir ckpoint \ | |
--overwrite_cache \ | |
--auto_find_batch_size=False \ | |
--per_device_train_batch_size 4 \ | |
--gradient_accumulation_steps 4 \ | |
--lr_scheduler_type cosine \ | |
--logging_steps 10 \ | |
--save_steps 10 \ | |
--learning_rate 5e-5 \ | |
--num_train_epochs 3.0 \ | |
--plot_loss \ | |
--fp16 |