Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query about GSM8K evaluation #73

Open
HCY123902 opened this issue Nov 12, 2024 · 4 comments
Open

Query about GSM8K evaluation #73

HCY123902 opened this issue Nov 12, 2024 · 4 comments

Comments

@HCY123902
Copy link

In Table 9 of the paper, your evaluation on GSM8K seems to use the 5 shot setting. May I know which evaluation library did you use? Is it lm-evaluation-harness or other existing GitHub implementations

@yumeng5
Copy link
Collaborator

yumeng5 commented Nov 17, 2024

Hi @HCY123902

Yes it's the default lm-evaluation-harness evaluation framework.

Best,
Yu

@HCY123902
Copy link
Author

HCY123902 commented Nov 17, 2024

Thank you for your reply. I am trying to reproduce the results on GSM8K, and this is what I observed using lm-evaluation-harness v0.4.5.

Method Setting Result
LLAMA-3-8B-Instruct 5-shot + strict-match 75.74
+ DPO v0.1 5-shot + strict-match 71.27
+ SimPO v0.1 5-shot + strict-match 71.95

These results seem significantly higher than what is reported on Table 9 of the paper. Therefore, may I know your lm-evaluation-harness version and the exact settings used to reproduce the GSM8K results

@xiamengzhou
Copy link
Contributor

Hi @HCY123902, apologies for the delayed response!

For testing GSM8k, we used the following command and evaluated with the git version b281b0921b636bc36ad05c0b0b0763bd6dd43463:

cd lm-evaluation-harness $1=princeton-nlp/Llama-3-Instruct-8B-SimPO python3 main.py --model=hf --model_args="pretrained=$1,dtype=bfloat16" --tasks=gsm8k --num_fewshot=5 --batch_size=4 --output_path=${OUTPUT_PATH} --no_cache

Let me know if you have any further questions!

@yujiaw98
Copy link

Hi @xiamengzhou @yumeng5,

Regarding this issue, I have a quick question: Between the two evaluation metrics for GSM8K, strict-match and flexible-extract, which one would you prefer to highlight as the primary evaluation metric in your paper?

Best,
Yujia

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants