# Convert mT5 to HF weights?

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fconvert-mt5-to-hf-weights%2F1727%3E%5C
**Category:** 🤗Transformers\
**Created:** [October 24, 2020, 7:32pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fconvert-mt5-to-hf-weights%2F1727 "2020-10-24T19:32:12Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![stykat](https://avatars.discourse-cdn.com/v4/letter/s/dec6dc/32.png) [@stykat](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fstykat)%5C
**Post date:** [October 26, 2020, 1:04pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fconvert-mt5-to-hf-weights%2F1727%2F4 "2020-10-26T13:04:30Z")

</div>

Hi @congcongwang!

How have you been trying to do it, if I may ask?  
There is a way of doing it for other models, as shown [here](https://huggingface.co/transformers/converting_tensorflow_models.html) but T5 is not among them.

Thank you!

---

_[View the full topic](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fconvert-mt5-to-hf-weights%2F1727)._
