# Evaluation metrics

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fevaluation-metrics%2F2085%3E%5C
**Category:** 🤗Transformers\
**Created:** [November 16, 2020, 11:05am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fevaluation-metrics%2F2085 "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](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fshainaraza)%5C
**Post date:** [November 16, 2020, 11:05am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fevaluation-metrics%2F2085%2F1 "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](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fsgugger)%5C
**Post date:** [November 16, 2020, 2:00pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fevaluation-metrics%2F2085%2F2 "2020-11-16T14:00:16Z")

</div>

You can use it on any data you want.
