You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Issue with Fine-tuning Mistral 7B Model - Results Discrepancy #29
Hello,
I attempt to replicate the experiment using metamathQA dataset to finetune mistral-7b, but the results I obtained do not match the ones shared in the repository.
Reproduction steps
I used the following parameters in run_mistral.sh.
I only got a 69% accuracy on GSM8K and 24% on MATH after 3 epochs with LR 5e-6 and global batch 128. Although due to the limitation of my computational resources, I added gradient checkpointing and flash attention to the original code, and also changed the per_device_batch_size to 1 (so gradient accumulates for 16 steps on 8 GPUs), but I don't think these modifications will bring significant differences to the performance.
My result with llama-factory and hyperparameters reported in the paper is 72.2%on GSM8K, I do not under stand why there are so many failures when trying to reproduce the result.
My result with llama-factory and hyperparameters reported in the paper is 72.2%on GSM8K, I do not under stand why there are so many failures when trying to reproduce the result.
I just can't get such a higher score, and I don't think this is an unique case
Activity
nuochenpku commentedon Apr 14, 2024
Same problem for me! Do you solve it? I also can not reproduce the results whatever the Mistral or LLaMA
ytyz1307zzh commentedon May 7, 2024
I encountered the same issue when trying to train Mistral-7B on MetaMathQA. My environment is:
I only got a 69% accuracy on GSM8K and 24% on MATH after 3 epochs with LR 5e-6 and global batch 128. Although due to the limitation of my computational resources, I added gradient checkpointing and flash attention to the original code, and also changed the per_device_batch_size to 1 (so gradient accumulates for 16 steps on 8 GPUs), but I don't think these modifications will bring significant differences to the performance.
XingyuLu206 commentedon Nov 4, 2024
My result with llama-factory and hyperparameters reported in the paper is 72.2%on GSM8K, I do not under stand why there are so many failures when trying to reproduce the result.
AaronZLT commentedon Nov 27, 2024
I just can't get such a higher score, and I don't think this is an unique case