"vscode:/vscode.git/clone" did not exist on "06556c8459202370776f085af4b0a003ae266f58"
Commit 641f44ce authored by wanglch's avatar wanglch
Browse files

Delete single_dcu_train.sh

parent efe8e663
#!/bin/bash
CUDA_VISIBLE_DEVICES=0 python ../FinGPT/LLaMA-Factory-main/src/train_bash.py \
--stage sft \
--do_train \
--model_name_or_path THUDM/chatglm2-6b \
--dataset fingpt_sentiment \
--dataset_dir ../../data \
--template default \
--finetuning_type lora \
--lora_target all \
--output_dir ../../saves/FinGPT/lora/sft \
--overwrite_cache \
--overwrite_output_dir \
--cutoff_len 1024 \
--preprocessing_num_workers 16 \
--per_device_train_batch_size 1 \
--per_device_eval_batch_size 1 \
--gradient_accumulation_steps 8 \
--lr_scheduler_type cosine \
--logging_steps 10 \
--warmup_steps 20 \
--save_steps 100 \
--eval_steps 100 \
--evaluation_strategy steps \
--load_best_model_at_end \
--learning_rate 5e-5 \
--num_train_epochs 3.0 \
--max_samples 3000 \
--val_size 0.1 \
--plot_loss \
--fp16
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment