-
Notifications
You must be signed in to change notification settings - Fork 359
reduces cli args redundancy #932
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
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
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.
LGTM but I think we could make it less breakage prone with the suggested method in comment (grouping default value and kwarg).
src/lighteval/cli_args.py
Outdated
ReasoningTags = Annotated[ | ||
str, | ||
Option( | ||
help="List of reasoning tag pairs to remove from responses, formatted as a Python list of tuples.", |
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.
you should indicate what the default will be in the doc btw
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.
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.
Nice!
How does it interact with the docstrings of the doc page?
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.
it does not sync with the docs, but the behaviour did not change so the docs are the same.
…gface/lighteval into nathan-reduce-cli-args-redundancy
* reduces cli args redundancy * fix typing * reasoning tags do not need to default to None to then be attributed to actual default * fix typing for dataclass * better docs for cli args * fix reasoning tags parsing * update from suggestion * styling * styling * styling
No description provided.