Evaluation metrics

In order to use the evaluation metrics from https://huggingface.co/metrics, for example,

from datasets import load_metric

metric = load_metric(“accuracy”)

does the dataset must be from the huggingface or may I use these metrics with transformer model based on my data?


You can use it on any data you want.