upable to connect to the model
#21
by
serenemah
- opened
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("BAAI/bge-small-en-v1.5")
sentences = [ "The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium." ] embeddings = model.encode(sentences)
similarities = model.similarity(embeddings, embeddings) print(similarities.shape)
I encounter the error below:
OSError: There was a specific connection error when trying to load BAAI/bge-small-en-v1.5: 401 Client Error: Unauthorized for url: https://huggingface.co/BAAI/bge-small-en-v1.5/resolve/main/config.json (Request ID: Root=1-6812200a-183a853f5ac0980b4d55617d;614925fe-76d8-4851-8516-aecbb59e0514)
Invalid credentials in Authorization header
serenemah
changed discussion status to
closed
serenemah
changed discussion status to
open