Spaces:
Running
Running
The README references the method `load`, does it mean `load_metric`?
#4
by
johngiorgi
- opened
The README references the method load
, does it mean load_metric
? Also, might be good to actually show the import of the method, in either case (e.g. from datasets import load_metric
).
No, in evaluate
the loading function is called load
whereas in the old datasets
interface it was load_metric
. So it should be from evaluate import load
.
Okay, adding this import statement explicitly would reduce ambiguity so I made a PR with that change here: https://huggingface.co/spaces/evaluate-metric/bleurt/discussions/5