Hi,
I would like to try the Universal Sentence encoder pre-trained model for a text classification task with the following code, but it has hung for hours, and the network connection is fine.
module_url = "https://tfhub.dev/google/universal-sentence-encoder/2"
embed = hub.Module(module_url)
Any advice on how to access the pre-trained model?
Thx a lot.
I meet the same question, do you solve it yet?
That's weird. We've just added https://github.com/tensorflow/hub/blob/master/docs/common_issues.md with recurring network issues. Could you try what it says at the bottom and check whether your browser or wget or curl can download the module as a tarball from
https://tfhub.dev/google/universal-sentence-encoder/2?tf-hub-format=compressed
?
Attaching ?tf-hub-format=compressed to the URL solved the problem. Thanks for your help!
Hi,
Is there any pre-trained-model available for the lite version?
It would be great if anyone can help me.
Most helpful comment
That's weird. We've just added https://github.com/tensorflow/hub/blob/master/docs/common_issues.md with recurring network issues. Could you try what it says at the bottom and check whether your browser or wget or curl can download the module as a tarball from
https://tfhub.dev/google/universal-sentence-encoder/2?tf-hub-format=compressed
?