title: Converting h5 to tflite
body: <p>I have been trying to get this zero-shot text classification <code>joeddav / xlm-roberta-large-xnli</code> to convert from h5 to tflite file (<a href="https://huggingface.co/joeddav/xlm-roberta-large-xnli" rel="nofollow noreferrer">https://huggingface.co/joeddav/xlm-roberta-large-xnli</a>), but this error pops up and I cant find it described online, how is it fixed? If it can't, is there another zero-shot text classifier I can use that would produce similar accuracy even after becoming tflite?</p>
  <pre><code>AttributeError: 'T5ForConditionalGeneration' object has no attribute 'call'
  </code></pre>
  <p>I have been trying a few different tutorials and the current google colab file I have is an amalgam of a couple of them. <a href="https://colab.research.google.com/drive/1sYQJqvhM_KEvMt2IP15d8Ud9L-ApiYv6?usp=sharing" rel="nofollow noreferrer">https://colab.research.google.com/drive/1sYQJqvhM_KEvMt2IP15d8Ud9L-ApiYv6?usp=sharing</a></p>