Skip to content
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

update eval basic usage #384

Merged
merged 3 commits into from
Dec 12, 2024
Merged

update eval basic usage #384

merged 3 commits into from
Dec 12, 2024

Conversation

n1ck-guo
Copy link
Contributor

@n1ck-guo n1ck-guo commented Dec 12, 2024

  • separate llm eval argparser
  • add auto_round_eval command

Signed-off-by: n1ck-guo <[email protected]>
Signed-off-by: n1ck-guo <[email protected]>
super().__init__(*args, **kwargs)
self.add_argument("--model", "--model_name", "--model_name_or_path", default="facebook/opt-125m",
help="model name or path")
self.add_argument("--device", "--devices", default="auto", type=str,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

default to 0

help="lm-eval tasks")
self.add_argument("--disable_trust_remote_code", action='store_true',
help="whether to disable trust_remote_code")
self.add_argument("--eval_bs", default=None, type=int,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add alias, bs, batch_size

Signed-off-by: n1ck-guo <[email protected]>
@wenhuach21 wenhuach21 self-requested a review December 12, 2024 08:17
@wenhuach21 wenhuach21 merged commit 6cead7d into main Dec 12, 2024
8 checks passed
@wenhuach21 wenhuach21 deleted the hengguo/eval_device branch December 12, 2024 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants