aoiferyan's picture
Upload folder using huggingface_hub
332cc64 verified
raw
history blame
276 Bytes
## from sentence_transformers import SentenceTransformer
##
## sentences = ["This is an example sentence", "Each sentence is converted"]
##
## model = SentenceTransformer('sentence-transformers/all-miniLM-L6-v2')
## embeddings = model.encode(sentences)
## print(embeddings)