Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

phi0112358
/
all-MiniLM-L6-v2-GGML

Sentence Similarity
sentence-transformers
English
feature-extraction
Model card Files Files and versions
xet
Community

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
all-MiniLM-L6-v2-GGML
73.2 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 5 commits
phi0112358's picture
phi0112358
Update README.md
b4496ac over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    10.7 kB
    Update README.md over 2 years ago
  • all-MiniLM-L6-v2-GGML-f16.bin
    45.5 MB
    xet
    Upload all-MiniLM-L6-v2-GGML-f16.bin over 2 years ago
  • all-MiniLM-L6-v2-GGML-q4_0.bin
    13.1 MB
    xet
    upload ggml over 2 years ago
  • all-MiniLM-L6-v2-GGML-q4_1.bin
    14.5 MB
    xet
    Upload all-MiniLM-L6-v2-GGML-q4_1.bin over 2 years ago