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

MMLU Template Instruction Inconsistency #990

Open
RonaldBXu opened this issue Jul 3, 2024 · 1 comment
Open

MMLU Template Instruction Inconsistency #990

RonaldBXu opened this issue Jul 3, 2024 · 1 comment

Comments

@RonaldBXu
Copy link

Hi, I noticed that in some templates of MMLU, it seems that the part of the prompt "The following are multiple choice questions (with answers) about {topic}." is being placed in "input_format", when it should be in "instruction", right? This is because we don't want to repeat this at the beginning of each shot?

This is in unitxt/prepare/cards/mmlu.py and unitxt/prepare/templates/qa/multiple_choice/templates.py.

@yoavkatz
Copy link
Member

yoavkatz commented Jul 9, 2024

You are right, In the past, unitxt did not support the "instruction" field and these are older templates. There are templates that use the instruction field like "templates.qa.multiple_choice.with_context.with_topic.title"

BTW, it's sometimes not clear which is the better option. From some experiments on one model , we saw that repeating the instruction per demo actually improves performance.

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

2 participants