|
Download README.md from sDirect/paraphrasing: direct link, hf CLI and curl.
- Browser
- Download file 275 Bytes
-
https://huggingface.co/sDirect/paraphrasing/resolve/main/README.md
- Command line
-
hf download hf://sDirect/paraphrasing/README.md
-
curl -L -o README.md https://huggingface.co/sDirect/paraphrasing/resolve/main/README.md
275 Bytes
from sentence_transformers import SentenceTransformer sentences = ["This is an example sentence", "Each sentence is converted"]
model = SentenceTransformer('sentence-transformers/paraphrase-multilingual-mpnet-base-v2') embeddings = model.encode(sentences) print(embeddings)