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
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

LightEmbed
/
sbert-paraphrase-MiniLM-L6-v2-onnx

Sentence Similarity
ONNX
Safetensors
sentence-transformers
light-embed
bert
feature-extraction
text-embeddings-inference
Model card Files Files and versions
xet
Community

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

  • Libraries
  • sentence-transformers

    How to use LightEmbed/sbert-paraphrase-MiniLM-L6-v2-onnx with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("LightEmbed/sbert-paraphrase-MiniLM-L6-v2-onnx")
    
    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
sbert-paraphrase-MiniLM-L6-v2-onnx
182 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 6 commits

This model has 1 file scanned as suspicious.

binhcode25's picture
binhcode25
Add new SentenceTransformer model.
45cbef7 verified almost 2 years ago
  • 1_Pooling
    Add new SentenceTransformer model. about 2 years ago
  • .gitattributes
    1.52 kB
    initial commit about 2 years ago
  • README.md
    1.77 kB
    Add new SentenceTransformer model. almost 2 years ago
  • config.json
    625 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • config_sentence_transformers.json
    122 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • model.onnx
    90.4 MB
    xet
    Add new SentenceTransformer model. almost 2 years ago
  • model.safetensors
    90.9 MB
    xet
    Add new SentenceTransformer model. about 2 years ago
  • model_description.json
    243 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • modules.json
    188 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • sentence_bert_config.json
    53 Bytes
    Add new SentenceTransformer model. about 2 years ago
  • special_tokens_map.json
    695 Bytes
    Add new SentenceTransformer model. about 2 years ago
  • tokenizer.json
    711 kB
    Add new SentenceTransformer model. about 2 years ago
  • tokenizer_config.json
    1.24 kB
    Add new SentenceTransformer model. about 2 years ago
  • vocab.txt
    232 kB
    Add new SentenceTransformer model. about 2 years ago