Evaluate SyntaxError: invalid syntax
NLBONU1 opened this issue · comments
NLBONU1 commented
When I try to run the following script;
import evaluate
eval_metric = evaluate.load("squad")
results = eval_metric.compute(references=new_examples, predictions=predictions)
I get this error;
C:\Users{username}.cache\huggingface\modules\evaluate_modules\metrics\evaluate-metric--squad\325
1bbcfa55c37b65f3a26f2bdedcdb2754db6bc08eee6af36c6ac871783b8d2\squad.py:1
│ ▲
SyntaxError: invalid syntax
I am working on my company's laptop and it has ZScaler enabled, could this be part of the issue?
Looking forward to a response, thanks.
Jiali Cheng commented
same here. load('accuracy')