huggingface / huggingface/evaluate
Evaluate SyntaxError: invalid syntax
- Dominant language
- Python
- Stars
- 2.5k
- Forks
- 341
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
Assessment
This issue has not been assessed yet.