TRAIN_DATA='/.../.../.../fastchat/num_data/data/train-left-(0, 99)-right-(0, 99)-skip-[(10, 20, 80, 90), [30, 40, 60, 70]].jsonl'
TEST_DATA='/.../.../.../fastchat/num_data/data/test-left-(0, 99)-right-(0, 99)-skip-[(10, 20, 80, 90), [30, 40, 60, 70]].jsonl'


cd /.../.../.../fastchat/num_data/train
torchrun --nproc_per_node=2 --master_port=20001 numadd.train.py \
    --model_name_or_path /.../.../.../model/TinyLlama-1.1B-Chat-v1.0 \
    --data_path "${TRAIN_DATA}" \
    --eval_data_path "${TEST_DATA}" \
    --bf16 False \
    --output_dir output_numadd \
    --num_train_epochs 300 \
    --per_device_train_batch_size 32 \
    --per_device_eval_batch_size 32 \
    --gradient_accumulation_steps 1 \
    --evaluation_strategy "no" \
    --do_eval=True \
    --evaluation_strategy="steps" \
    --eval_steps 20 \
    --save_strategy "no" \
    --learning_rate 2e-5 \
    --weight_decay 0. \
    --warmup_ratio 0.03 \
    --lr_scheduler_type "cosine" \
    --logging_steps 1 \
    --tf32 False \
    --model_max_length 32 \
    --gradient_checkpointing True \
    --lazy_preprocess True \
    --report_to wandb


