# My fine tuned model behaves differently each run

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fmy-fine-tuned-model-behaves-differently-each-run%2F128359%3E%5C
**Category:** Beginners\
**Created:** [November 29, 2024, 12:45am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fmy-fine-tuned-model-behaves-differently-each-run%2F128359 "2024-11-29T00:45:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pycornlee](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/pycornlee/32/36660_2.png) [@pycornlee](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fpycornlee)%5C
**Post date:** [November 29, 2024, 12:45am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fmy-fine-tuned-model-behaves-differently-each-run%2F128359%2F1 "2024-11-29T00:45:33Z")

</div>

when i fine tuned model with lora, and when i inference it , i get different results each run.

---

<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:** [November 29, 2024, 2:16am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fmy-fine-tuned-model-behaves-differently-each-run%2F128359%2F2 "2024-11-29T02:16:05Z")

</div>

There are several possible causes, but if do\_sample=False is not specified, the output will usually be different each time.
