# Back Translation Using T5

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fback-translation-using-t5%2F44024%3E%5C
**Category:** Intermediate\
**Created:** [June 21, 2023, 10:02am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fback-translation-using-t5%2F44024 "2023-06-21T10:02:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![TahaBa](https://avatars.discourse-cdn.com/v4/letter/t/c4cdca/32.png) [@TahaBa](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FTahaBa)%5C
**Post date:** [June 21, 2023, 10:02am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fback-translation-using-t5%2F44024%2F1 "2023-06-21T10:02:45Z")

</div>

Hey guys,

I actually want to implement a back-translation method using T5, which means that I first use T5 to generate a sentence Y’ from X, then use T5 again to generate sentence Y (which ideally should be as similar as possible to the initial sentence X), and compute the corresponding Loss(X, Y). I think I need to find a way to make the Y’ differentiable.  
Does anybody have any idea about it?
