Skip to content

feat: Add the OLMES variant of the MBPP task#186

Open
tfburns wants to merge 3 commits intomainfrom
mbpp
Open

feat: Add the OLMES variant of the MBPP task#186
tfburns wants to merge 3 commits intomainfrom
mbpp

Conversation

@tfburns
Copy link
Collaborator

@tfburns tfburns commented Feb 26, 2026

PR Checklist

  • Use descriptive commit messages.
  • Provide tests for your changes.
  • Update any related documentation and include any relevant screenshots.
  • Check if changes need to be made to docs (README or any guides in /docs/).

What type of PR is this? (check all applicable)

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update

Description

Adds the OLMES variant of the MBPP task.

Added/updated tests?

  • Yes
  • No, and this is why: please replace this line with details on why tests
    have not been included
  • I need help with writing tests

@tfburns tfburns marked this pull request as ready for review February 26, 2026 14:54
return list(_OLMES_FEWSHOT_EXAMPLES)

def post_process_generated_completion(self, completion_text: str, sample: Sample | None = None) -> str:
assert sample is not None
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems to contradict the type hint in the definition

except Exception as e:
print(f"Failed to instantiate task {task_name}: {e}")
return
except Exception:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

any chance we can make it more specific?

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.

2 participants