-
Notifications
You must be signed in to change notification settings - Fork 326
New QWEN 2 VLM + o1 fixes for VHELM #3247
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks all good to me!
@@ -191,6 +187,18 @@ def _make_chat_request(self, request: Request) -> RequestResult: | |||
if raw_request["stop"] is None: | |||
raw_request.pop("stop") | |||
|
|||
if request.model_engine == "o1-2024-12-17": | |||
# Avoid error: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@yifanmai note the extra logic for o1-2024-12-17
that's different from the other o1 models.
@@ -138,6 +138,13 @@ def alter_run_spec(run_spec: RunSpec) -> RunSpec: | |||
): | |||
run_spec = singleton(IncreaseMaxTokensRunExpander(value=1).expand(run_spec)) | |||
|
|||
if model.name == "openai/o1-2024-12-17": |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@yifanmai o1-2024-12-17
specifically is unusable in HELM without this change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In practice, a few thousand reasoning tokens are used, at least for the VHELM scenarios.
No description provided.