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).

Evaluate Metric org

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

Sign up or log in to comment