[Chat] fix sft loss nan (#5345)

* fix script

* fix script

* fix chat nan

* fix chat nan
This commit is contained in:
YeAnbang
2024-02-01 14:25:16 +08:00
committed by GitHub
parent abd8e77ad8
commit c5239840e6
2 changed files with 7 additions and 5 deletions

View File

@@ -25,4 +25,4 @@ torchrun --standalone --nproc_per_node=4 train_sft.py \
--accumulation_steps 8 \
--lr 2e-5 \
--max_datasets_size 512 \
--max_epochs 1
--max_epochs 1