# How can I evaluate a fine tuned LLM?

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-can-i-evaluate-a-fine-tuned-llm%2F134538%3E%5C
**Category:** Intermediate\
**Created:** [January 6, 2025, 8:35pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-can-i-evaluate-a-fine-tuned-llm%2F134538 "2025-01-06T20:35:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mertoguzhan](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/mertoguzhan/32/38029_2.png) [@mertoguzhan](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fmertoguzhan)%5C
**Post date:** [January 6, 2025, 8:35pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-can-i-evaluate-a-fine-tuned-llm%2F134538%2F1 "2025-01-06T20:35:11Z")

</div>

Hi there! I am curious about how fine tuned large language models are evaluated? I mean, I fine tuned a model for specific task like a question-answer chatbot for my business but how can I decide to my language model is good, bad or terrible? Is there any ways to evaluate fine tuned model such as token similarity, semantic similarity…

---

<div class="post-metadata">

**Author:** ![John6666](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/john6666/32/27664_2.png) [@John6666](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FJohn6666)%5C
**Post date:** [January 7, 2025, 1:45am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-can-i-evaluate-a-fine-tuned-llm%2F134538%2F2 "2025-01-07T01:45:45Z")

</div>

I’m not very familiar with it, but is it possible to use the evaluation method used in the leaderboard?

> **[Spaces - Hugging Face](https://huggingface.co/spaces?sort=trending&search=leaderboard)**
>
> Discover amazing ML apps made by the community

---

<div class="post-metadata">

**Author:** ![Alanturner2](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/alanturner2/32/37542_2.png) [@Alanturner2](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FAlanturner2)%5C
**Post date:** [January 7, 2025, 2:08am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-can-i-evaluate-a-fine-tuned-llm%2F134538%2F3 "2025-01-07T02:08:29Z")

</div>

Hi!

Evaluating a fine-tuned language model, especially for tasks like a question-answer chatbot, involves a mix of quantitative metrics and qualitative evaluation. Here are some common methods you can use to assess your model’s performance:

1. **Task-Specific Metrics** :

2. **Semantic Similarity** :

3. **Human Evaluation** :  
You should follow @John6666 's advice.

4. **Real-World Testing** :  
You should follow @John6666 's advice. This is very effective way to test your project using hugging face space. I’ve also used this space and this was helpful.

By combining these approaches, you can get a holistic view of your model’s quality and identify areas that need improvement. Task-specific metrics like F1 score and EM are great for initial evaluations, while human evaluation and real-world testing can offer deeper insights.

Hope this helps!

---

<div class="post-metadata">

**Author:** ![mertoguzhan](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/mertoguzhan/32/38029_2.png) [@mertoguzhan](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fmertoguzhan)%5C
**Post date:** [January 7, 2025, 3:34am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-can-i-evaluate-a-fine-tuned-llm%2F134538%2F4 "2025-01-07T03:34:07Z")

</div>

Thanks a lot. I believe that semantic similarity will be good decision but I will try all of them.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/hellohellohello/original/2X/d/de4155eb4aa4108ecb32a1389d7cc37ae69f88b7.png) [@system](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fsystem)%5C
**Post date:** [January 7, 2025, 3:34pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-can-i-evaluate-a-fine-tuned-llm%2F134538%2F5 "2025-01-07T15:34:12Z")

</div>

Closed on January 7, 2025, 3:34pm UTC

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.
