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

new mllm eval #317

Merged
merged 19 commits into from
Nov 15, 2024
Merged
10 changes: 9 additions & 1 deletion auto_round/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,16 @@ def run_mllm():
else:
tune(args)

def run_lmms():
from auto_round.script.lmms_eval import setup_lmms_args, eval
args = setup_lmms_args()
eval(args)

def switch():
if "--mllm" in sys.argv:
if "--lmms" in sys.argv:
sys.argv.remove("--lmms")
run_lmms()
elif "--mllm" in sys.argv:
sys.argv.remove("--mllm")
run_mllm()
else:
Expand Down
Loading
Loading