Sentence Similarity
sentence-transformers
Safetensors
Portuguese
xlm-roberta
passage-retrieval
pruned
text-embeddings-inference
Instructions to use cnmoro/portuguese-bge-m3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use cnmoro/portuguese-bge-m3 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("cnmoro/portuguese-bge-m3") 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) # [3, 3] - Notebooks
- Google Colab
- Kaggle
Download newplot2.png from cnmoro/portuguese-bge-m3: direct link, hf CLI and curl.
- Browser
- Download file 18.4 kB
-
https://huggingface.co/cnmoro/portuguese-bge-m3/resolve/main/newplot2.png
- Command line
-
hf download hf://cnmoro/portuguese-bge-m3/newplot2.png
-
curl -L -o newplot2.png https://huggingface.co/cnmoro/portuguese-bge-m3/resolve/main/newplot2.png
18.4 kB
