Downloads · 30 days
480K
20% of all-time downloads
Qdrant/paraphrase-multilingual-MiniLM-L12-v2-onnx-Q
paraphrase-multilingual-MiniLM-L12-v2-onnx-Q is a sentence similarity model from Qdrant. Use it when you need a score for how close two texts are. It is set up for transformers. The card lists the license as apache-2.0.
Quantized ONNX port of sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2 for text classification and similarity searches.
Downloads · 30 days
480K
20% of all-time downloads
All-time downloads
2.4M
Public
Repo size
267 MB
Likes
9
Public
Click a slice to open those files.
.onnx235 MB · 88%
From the Hugging Face model README
Quantized ONNX port of sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2 for text classification and similarity searches.
Here's an example of performing inference using the model with FastEmbed.
from fastembed import TextEmbedding
documents = [
"You should stay, study and sprint.",
"History can only prepare us to be surprised yet again.",
]
model = TextEmbedding(model_name="sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2")
embeddings = list(model.embed(documents))
# [
# array([1.96449570e-02, 1.60677675e-02, 4.10149433e-02...]),
# array([-1.56669170e-02, -1.66313536e-02, -6.84525725e-03...])
# ]