Instructions to use phi0112358/paraphrase-MiniLM-L3-v2-GGML with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use phi0112358/paraphrase-MiniLM-L3-v2-GGML with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("phi0112358/paraphrase-MiniLM-L3-v2-GGML") 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] - Transformers
How to use phi0112358/paraphrase-MiniLM-L3-v2-GGML with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("phi0112358/paraphrase-MiniLM-L3-v2-GGML", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
335965d
1
Parent(s): a5f65b1
Upload 2 files
Browse files
paraphrase-MiniLM-L3-v2-GGML-q4_0.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:de7cdaab6fc900750f915624de74897fac7fc00e9baff02721c50ed9a43b6562
|
| 3 |
+
size 10078903
|
paraphrase-MiniLM-L3-v2-GGML-q4_1.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:127ab3c62d6e92db25f3d937aa48e66e669bcd6237478d22d3a28870fc35fd72
|
| 3 |
+
size 11155543
|