update examples

Former-commit-id: 194e25606515bfa42c3be27d68f68d604191514b
This commit is contained in:
hiyouga
2024-03-06 13:14:57 +08:00
parent 3168abc0a1
commit 6b407092d9
13 changed files with 124 additions and 1 deletions

View File

@@ -13,11 +13,13 @@ CUDA_VISIBLE_DEVICES=0 python ../../src/train_bash.py \
--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 \