Getting error: No sentence-transformers model found with name nlpaueb/legal-bert-base-uncased
#6
by
wandana
- opened
Hi all,
I am trying to use this model for embeddings. I tried both HuggingFaceEmbedding and SentenceTransformer libraries to initialize the model but getting the warning: "No sentence-transformers model found with name nlpaueb/legal-bert-base-uncased"
What does the warning mean? How can I get rid of the warning?
embed_model = SentenceTransformer(
model_name='nlpaueb/legal-bert-base-uncased')
embed_model = HuggingFaceEmbedding(
model_name='nlpaueb/legal-bert-base-uncased')