fix a few benchmark such that importing any of them works properly#127
Merged
neginraoof merged 6 commits intomainfrom Jun 5, 2025
Merged
fix a few benchmark such that importing any of them works properly#127neginraoof merged 6 commits intomainfrom
neginraoof merged 6 commits intomainfrom
Conversation
Collaborator
Author
|
The linter didn't pass for some files that I didn't change. I linted them but now it obfuscates the PR a bit. I recommend looking at the first commit only. |
Collaborator
|
Amazing! Thanks @jmercat ! |
neginraoof
reviewed
Jun 3, 2025
| super().__init__(logger=logger, system_instruction=system_instruction) | ||
| self.debug = debug | ||
| self.max_new_tokens = max_tokens if max_tokens is not None else 32768 # set higher to avoid truncation for reasoning models | ||
| self.max_new_tokens = max_tokens |
Collaborator
There was a problem hiding this comment.
Don't we still need to check if max_tokens is not None ?
Collaborator
Author
There was a problem hiding this comment.
oh ok that's not the best way to handle it I think. I'll revert for now but we should probably not send an argument as none if we don't want it to be none.
Merged
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.
When trying to load all benchmarks I found a few issues that this should fix.
Here is an import code that reveals the issues that this PR fixes: