Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
lm-evaluation-harness
Commits
01849b40
Unverified
Commit
01849b40
authored
Feb 25, 2025
by
Jocelyn
Committed by
GitHub
Feb 25, 2025
Browse files
add o3-mini support (#2697)
* add o3-mini support * fix linter tests
parent
a9a0e3ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
lm_eval/models/openai_completions.py
lm_eval/models/openai_completions.py
+2
-0
No files found.
lm_eval/models/openai_completions.py
View file @
01849b40
...
...
@@ -291,4 +291,6 @@ class OpenAIChatCompletion(LocalChatCompletion):
if
"o1"
in
self
.
model
:
output
.
pop
(
"stop"
)
output
[
"temperature"
]
=
1
elif
"o3"
in
self
.
model
:
output
.
pop
(
"temperature"
)
return
output
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment