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

mmlu evaluation fail #2005

Closed
jxiw opened this issue Jun 21, 2024 · 2 comments
Closed

mmlu evaluation fail #2005

jxiw opened this issue Jun 21, 2024 · 2 comments

Comments

@jxiw
Copy link

jxiw commented Jun 21, 2024

I try to evaluate model in mmlu, however i get

ValueError: No tasks specified, or no tasks found. Please verify the task names.

for example,

lm_eval \
    --model hf \
    --model_args pretrained=microsoft/phi-2,trust_remote_code=True \
    --tasks mmlu \
    --device cuda:0 \
    --batch_size 8 \
    --output_path output/phi-2 \
    --limit 10 \

it only works for a subset of mmlu,

lm_eval \
    --model hf \
    --model_args pretrained=microsoft/phi-2,trust_remote_code=True \
    --tasks mmlu_abstract_algebra \
    --device cuda:0 \
    --batch_size 8 \
    --output_path output/phi-2 \
    --limit 10 \

i think it is a huge issue. could you please to take a look? it does not appear previously.

@jxiw jxiw closed this as completed Jun 21, 2024
@haileyschoelkopf
Copy link
Contributor

Hi @jxiw , what was the problem?

@jxiw
Copy link
Author

jxiw commented Jun 21, 2024

it because i have a fold called 'mmlu' in the current path. it automatically reads config from that folder instead of using the standard mmlu, but that folder is not for a new config.

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

No branches or pull requests

2 participants