# Evaluation metrics

**URL:** <https://discuss.huggingface.co/t/evaluation-metrics/2085>\
**Category:** 🤗Transformers\
**Created:** [November 16, 2020, 11:05am UTC](https://discuss.huggingface.co/t/evaluation-metrics/2085 "2020-11-16T11:05:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![shainaraza](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/shainaraza/32/2854_2.png) [@shainaraza](https://discuss.huggingface.co/u/shainaraza)\
**Post date:** [November 16, 2020, 11:05am UTC](https://discuss.huggingface.co/t/evaluation-metrics/2085/1 "2020-11-16T11:05:56Z")

</div>

In order to use the evaluation metrics from [Hugging Face – The AI community building the future.](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?

thanks

---

<div class="post-metadata">

**Author:** ![sgugger](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/sgugger/32/2291_2.png) [@sgugger](https://discuss.huggingface.co/u/sgugger)\
**Post date:** [November 16, 2020, 2:00pm UTC](https://discuss.huggingface.co/t/evaluation-metrics/2085/2 "2020-11-16T14:00:16Z")

</div>

You can use it on any data you want.
