# Fine-tune Llama2 evaluation

**URL:** <https://discuss.huggingface.co/t/fine-tune-llama2-evaluation/63741>\
**Category:** Beginners\
**Created:** [November 27, 2023, 4:45pm UTC](https://discuss.huggingface.co/t/fine-tune-llama2-evaluation/63741 "2023-11-27T16:45:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SuperOvni](https://avatars.discourse-cdn.com/v4/letter/s/45deac/32.png) [@SuperOvni](https://discuss.huggingface.co/u/SuperOvni)\
**Post date:** [November 27, 2023, 4:45pm UTC](https://discuss.huggingface.co/t/fine-tune-llama2-evaluation/63741/1 "2023-11-27T16:45:20Z")

</div>

Hello,  
I want to fine-tune Llama2 for a specific text generation task, I would like to get the model outputs for my evaluation dataset in text form to be able to perform custom metrics. It looks like I can use the compute\_metrics function or I can use generate to get the output of my evaluation. But I’ve got a problem: when I decode my outputs, they’re absolutely not the same for the two methods, why?
