Using "load_metric" offline in datasets

Hi ! Yes you just need to have the metric python file from datasets/metrics at master 路 huggingface/datasets 路 GitHub and load it with

load_metric("path/to/metric.py")
1 Like