-
Notifications
You must be signed in to change notification settings - Fork 229
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
Problems during run initial step #590
Comments
Have you solved this problem? I also encountered |
Same here |
1 similar comment
Same here |
Same here with version 0.4.2 |
Same problem |
Hey guys, I guess it's a problem with evaluate==0.4.2. I replaced the cached exact_match.py script (the file where the error occured) with a previous version (sry not sure which version it is exactly), and everything works fine from my side. Please feel free to use this as a temperory solution, but I think some bug need to be solved within version 0.4.2. The exact_match.py I used: (I obtained it from my partner, credit to him :)
|
Same problem. I tried the solution proposed by @ErikaaWang and found it worked. |
I can see this in blue.py 由于流量过大,本站暂不支持访问 Spaces 空间,可前往 Hugging Face 官网查看。 返回上一页 前往官网入口
I guess the problem may be from the https://hf-mirror.com |
I fixed the issue by changing HF_ENDPOINT to https://huggingface.co/. |
Same problem, I tried the solution from @ZeguanXiaoand, but it didn't work out |
Try: export HF_ENDPOINT="https://huggingface.co" |
@sxluo Thanks for your advice!
However I cannot remove this line, or change this to
to:
It turns out to work well :>. Hope this could help others. |
Here is my running code:
import evaluate
ev = evaluate.load('exact_match')
Always return below error
Downloading builder script: 3.69kB [00:00, 4.56MB/s]
Traceback (most recent call last):
File "", line 1, in
File "/home/aka/anaconda3/lib/python3.10/site-packages/evaluate/loading.py", line 751, in load
evaluation_cls = import_main_class(evaluation_module.module_path)
File "/home/aka/anaconda3/lib/python3.10/site-packages/evaluate/loading.py", line 76, in import_main_class
module = importlib.import_module(module_path)
File "/home/aka/anaconda3/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 879, in exec_module
File "", line 1017, in get_code
File "", line 947, in source_to_code
File "", line 241, in _call_with_frames_removed
File "/home/aka/.cache/huggingface/modules/evaluate_modules/metrics/evaluate-metric--exact_match/009c8b5313309ea5b135d526433d5ee76508ba1554cbe88310a30f85bb57ec88/exact_match.py", line 16
}
^
SyntaxError: closing parenthesis '}' does not match opening parenthesis '(' on line 14
The text was updated successfully, but these errors were encountered: