Return embeddings via inference api
Is there any way to use the public inference api to return embedding vectors for a a set of input sentances.eg…model = SentenceTransformer('sentence-transformers/all-MiniLM-L6-v2')
embeddings = model.encode(sentences)
print(embeddings)