You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assigning members to test importing models in TensorFlow and ONNX formats to Spark NLP. (please use the latest transformers and optimum libraries on Colab)
TensorFlow
ONNX
> Hi @TerryLaw535
To import T5 models (fine-tuned or already on HF) you can use one of these 2 notebooks:
Depending on which one you have saved (exported) your T5 model, you can follow the instructions to import your model into Spark NLP. (I personally recommend first trying ONNX, it has a faster inference time)
hi maziyarpanahi, thanks for your resource, however, I tried different transformers, tensorflow versions but none of them worked, basically there are all kinds of errors. And the code doesn't work on colab correctly either. Could you please check it out? Thank you so much!
Assigning members to test importing models in TensorFlow and ONNX formats to Spark NLP. (please use the latest transformers and optimum libraries on Colab)
TensorFlow
ONNX
hi maziyarpanahi, thanks for your resource, however, I tried different transformers, tensorflow versions but none of them worked, basically there are all kinds of errors. And the code doesn't work on colab correctly either. Could you please check it out? Thank you so much!
Originally posted by @Alexwangziyu in #14215 (comment)
The text was updated successfully, but these errors were encountered: