| OUT_ROOT="./out/pretrain/qwen2_7b_question_focus_lr_plus" | |
| #"./out/pretrain/qwen2_7b_question_focus" | |
| LOG_ROOT="./out/pretrain/qwen2_7b_question_focus_lr_plus/teelog.txt" | |
| #"./out/pretrain/qwen2_7b_question_focus/teelog.txt" | |
| DATA_ROOT="litgpt/data/arxiv_test_qwen2_tokenized/" | |
| CKPT_0="./checkpoints/Qwen/Qwen2-7B/" | |
| CONFIG_FILE="config_hub/pretrain/qwen2_7b_test.yaml" | |
| export CUDA_VISIBLE_DEVICES="4,5,6,7" | |
| touch "$LOG_ROOT" | |
| litgpt pretrain \ | |
| --config $CONFIG_FILE \ | |
| --train.max_tokens 52428800 \ | |
| --out_dir $OUT_ROOT \ | |
| --initial_checkpoint_dir $CKPT_0 \ | |
| --data_dir $DATA_ROOT \ | |
| 2>&1 | tee $LOG_ROOT | |