Can we load models downloaded directly from tensor flow hub? #2936
pulkitmalhotra1995
started this conversation in
General
Replies: 1 comment 5 replies
-
Load function is to load Spark NLP models not TensorFlow SavedModel. For that we use .loadSavedModel. However, we do the export/import ourselves do to TF v1 conversions. In the new release this can be possible by users but right now the process is long and tedious. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am new to spark nlp family, trying to make sense of things. I see spark NLP by default downloads https://tfhub.dev/google/universal-sentence-encoder/2 USE embeddings, but these are old, I downloaded the latest from https://tfhub.dev/google/universal-sentence-encoder/4, is there any way I can load these directly using spark NLP? I tried using .load but it asks for metadata directory to present.
Beta Was this translation helpful? Give feedback.
All reactions