# T5 user defined loss function

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ft5-user-defined-loss-function%2F566%3E%5C
**Category:** Beginners\
**Created:** [August 3, 2020, 12:20am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ft5-user-defined-loss-function%2F566 "2020-08-03T00:20:23Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![mengyahu](https://avatars.discourse-cdn.com/v4/letter/m/71c47a/32.png) [@mengyahu](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fmengyahu)%5C
**Post date:** [August 6, 2020, 8:27pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ft5-user-defined-loss-function%2F566%2F8 "2020-08-06T20:27:21Z")

</div>

Thanks for the reminder, @chrisdoyleIE ! This is surprising to me! Could you provide me with a solution if I want **diversity\_loss** to have influence on my model?

---

_[View the full topic](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ft5-user-defined-loss-function%2F566)._
