Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

nuvaidev
/
all-MiniLM-L6-v2-onnx-quantized

Feature Extraction
sentence-transformers
ONNX
English
onnxruntime
bert
sentence-similarity
int4
int8
quantization
Model card Files Files and versions
xet
Community

Instructions to use nuvaidev/all-MiniLM-L6-v2-onnx-quantized with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use nuvaidev/all-MiniLM-L6-v2-onnx-quantized with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("nuvaidev/all-MiniLM-L6-v2-onnx-quantized")
    
    sentences = [
        "The weather is lovely today.",
        "It's so sunny outside!",
        "He drove to the stadium."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [3, 3]
  • Notebooks
  • Google Colab
  • Kaggle
all-MiniLM-L6-v2-onnx-quantized
476 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 7 commits
jaganuvai's picture
jaganuvai
chore: replace ONNX binaries with generate.sh script for reproducible quantized exports
6936cb6 verified about 19 hours ago
  • .gitattributes
    1.52 kB
    initial commit about 19 hours ago
  • README.md
    3.22 kB
    chore: replace ONNX binaries with generate.sh script for reproducible quantized exports about 19 hours ago
  • config.json
    280 Bytes
    chore: replace ONNX binaries with generate.sh script for reproducible quantized exports about 19 hours ago
  • generate.sh
    4.5 kB
    chore: replace ONNX binaries with generate.sh script for reproducible quantized exports about 19 hours ago
  • tokenizer.json
    466 kB
    Upload tokenizer.json with huggingface_hub about 19 hours ago