# 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:** 14

<div class="post-metadata">

**Author:** ![peggy](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/peggy/32/286_2.png) [@peggy](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fpeggy)%5C
**Post date:** [September 23, 2020, 4:38pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ft5-user-defined-loss-function%2F566%2F14 "2020-09-23T16:38:46Z")

</div>

Hi. Thanks for your explanation.  
Do you have a paper, or some key-words to search on the thing you said about training a function to do the sampling?

---

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