Spaces:
No application file
No application file
File size: 203 Bytes
8255e91 | 1 2 3 4 5 6 | from sentence_transformers import SentenceTransformer
embedding_model = SentenceTransformer('intfloat/multilingual-e5-large')
def get_embedding(text):
return embedding_model.encode(text).tolist()
|