MartinoMensio / spacy-universal-sentence-encoder

Google USE (Universal Sentence Encoder) for spaCy
MIT License
176 stars 12 forks source link

Old version model #19

Open chenhaoenen opened 2 years ago

chenhaoenen commented 2 years ago

It is a amazing work! Appreciate your hard work. I'm met the downloaded model problem, but with the help of https://github.com/MartinoMensio/spacy-universal-sentence-encoder/issues/9#issue-685821614, It work. thanks however, I met another problem, I am trying use the model https://tfhub.dev/google/universal-sentence-encoder-large/4, It is not the latest version,I got the models https://storage.googleapis.com/tfhub-modules/google/universal-sentence-encoder-large/4.tar.gz via offline, and get sha1: f4ea2eb4a9fd72946209ef45271146fae070fb29, export right path

import spacy nlp=spay.load('en_use_lg')

but it can't work I guess if the model name is incorrect