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

Fix MIPROv2 exception on demoless runs #1581

Merged
merged 1 commit into from
Oct 3, 2024
Merged

Fix MIPROv2 exception on demoless runs #1581

merged 1 commit into from
Oct 3, 2024

Conversation

XenonMolecule
Copy link
Collaborator

Fixes #1580

When an exception occurs during bootstrapping demos, MIPROv2 switches to running without task demonstrations. However, MIPROv2 previously did not have support for running without demos. This PR adds checks so that running without demos will not cause MIPROv2 to crash and instead gracefully adds "No task demos provided." to the meta prompt.

@okhat okhat merged commit a65c769 into main Oct 3, 2024
4 checks passed
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.

[MIPRO_v2] error in bootstrapping few-shot examples raises TypeError
2 participants