Sentence Similarity
sentence-transformers
PyTorch
ONNX
xlm-roberta
feature-extraction
text-embeddings-inference
Instructions to use p0x0q-dev/bge-m3-sparse-experimental with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use p0x0q-dev/bge-m3-sparse-experimental with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("p0x0q-dev/bge-m3-sparse-experimental") sentences = [ "That is a happy person", "That is a happy dog", "That is a very happy person", "Today is a sunny day" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Download __pycache__/handler.cpython-311.pyc from p0x0q-dev/bge-m3-sparse-experimental: direct link, hf CLI and curl.
- Browser
- Download file 2.67 kB
-
https://huggingface.co/p0x0q-dev/bge-m3-sparse-experimental/resolve/main/__pycache__/handler.cpython-311.pyc
- Command line
-
hf download hf://p0x0q-dev/bge-m3-sparse-experimental/__pycache__/handler.cpython-311.pyc
-
curl -L -o handler.cpython-311.pyc https://huggingface.co/p0x0q-dev/bge-m3-sparse-experimental/resolve/main/__pycache__/handler.cpython-311.pyc
2.67 kB
This file contains binary data. It cannot be displayed, but you can still download it.