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

revise mbpp prompt #2645

Merged
merged 1 commit into from
Jan 21, 2025
Merged

revise mbpp prompt #2645

merged 1 commit into from
Jan 21, 2025

Conversation

bzantium
Copy link
Contributor

@bzantium bzantium commented Jan 21, 2025

I talked with @hjlee1371 who firstly commited mbpp task and he confirmed new prompt is right.
resolved: #2644

@bzantium
Copy link
Contributor Author

bzantium commented Jan 21, 2025

When I tested original code with Qwen2.5-32B (this is why I commited this PR):

Tasks Version Filter n-shot Metric Value Stderr
mbpp 1 none 3 pass_at_1 0 ± 0

with revised code:

Tasks Version Filter n-shot Metric Value Stderr
mbpp 1 n=1 3 pass_at_1 0.732 ± 0.0197

I also tested other models, some are okay with original code but all work well with revised code.
one test failed because of absence of os.environ["HF_ALLOW_CODE_EVAL"] = "1"

to: @baberabb

@baberabb
Copy link
Contributor

LSTM! Great work!

@baberabb baberabb merged commit ed9c6fc into main Jan 21, 2025
7 of 8 checks passed
@baberabb baberabb deleted the feature/#2644 branch January 21, 2025 16:46
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

Successfully merging this pull request may close these issues.

revise mbpp prompt
2 participants