Instructions to use phi0112358/all-MiniLM-L6-v2-GGML with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use phi0112358/all-MiniLM-L6-v2-GGML with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("phi0112358/all-MiniLM-L6-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] - Notebooks
- Google Colab
- Kaggle
Commit History
Upload all-MiniLM-L6-v2-GGML-f16.bin d22e6cf
Upload all-MiniLM-L6-v2-GGML-q4_1.bin 6bd1afe
upload ggml a116e92
initial commit 7fea2f0
Yazan Agha-Schrader commited on