Repository navigation
Conversation
52253ac removed the multiple-choice job from jobs/unsloth together with MCQJobModel, MultipleChoiceEvalModel and the worker script mc_question.py, but a copy of the job class stayed in jobs/weighted_sft. ow.multiple_choice.create() therefore always fails with NameError: name 'MCQJobModel' is not defined, and the script it would schedule no longer exists.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #105.
This removes the leftover
MultipleChoicejob class (registered asmultiple_choice) fromopenweights/jobs/weighted_sft/__init__.py. 52253ac already removed its models (MCQJobModel,MultipleChoiceEvalModel) and its worker script (mc_question.py), socreate()could only raiseNameError. The diff is 45 deletions in one file, andSFTandLogProbare untouched.Checked locally:
api, fine_tuning, inference, inspect_ai, logprob, multiple_choice, weighted_sft. After: the same withoutmultiple_choice.pytest tests --ignore=tests/test_integration.py: 241 passed, 70 skipped, 1 failed on bothmainand this branch. The failure istest_sampling_callback, which importsmatplotlibfrom the cookbook and isn't installed by.[dev].ruff --select F821no longer reportsMCQJobModel/MultipleChoiceEvalModel. The three pre-existing unused imports in the file are left as they are.docs/release-0.15.0.mdstill listsmultiple_choiceamong the jobs that acceptpriority=. I left the release notes unchanged as a historical record. If you'd rather restore the job than remove it, I'm happy to rework the PR.@Manuscrit would you have a moment to review? Happy to adjust.