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

AttributeError: module 'lm_eval.tasks' has no attribute 'ALL_TASKS' #62

Open
Shinning-Zhou opened this issue Aug 7, 2024 · 1 comment

Comments

@Shinning-Zhou
Copy link

met

Traceback (most recent call last):
  File "/mnt/sharedata/hdd/zhouxn/wanda/main.py", line 112, in <module>
    main()
  File "/mnt/sharedata/hdd/zhouxn/wanda/main.py", line 102, in main
    results = eval_zero_shot(args.model, model, tokenizer, task_list, num_shot, accelerate)
  File "/mnt/sharedata/hdd/zhouxn/wanda/lib/eval.py", line 142, in eval_zero_shot
    task_names = pattern_match(task_list, tasks.ALL_TASKS)
AttributeError: module 'lm_eval.tasks' has no attribute 'ALL_TASKS'

when running eval_zero_shot.
Can you share the version of lm_eval libaray or tell me how to fix this?

@Logan-007L
Copy link

Hello, have you solved it yet? Can you tell me how to solve it? thank you!

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