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

  • Log In
  • Sign Up

LightEmbed
/
baai-llm-embedder-onnx

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

Instructions to use LightEmbed/baai-llm-embedder-onnx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use LightEmbed/baai-llm-embedder-onnx with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("LightEmbed/baai-llm-embedder-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
baai-llm-embedder-onnx
437 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 11 commits
binhcode25's picture
binhcode25
Add new SentenceTransformer model.
bcb7072 verified almost 2 years ago
  • 1_Pooling
    initial commit almost 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 2 years ago
  • README.md
    1.67 kB
    Add new SentenceTransformer model. almost 2 years ago
  • config.json
    735 Bytes
    new model with pooler and normalizer almost 2 years ago
  • config_sentence_transformers.json
    123 Bytes
    new model with pooler and normalizer almost 2 years ago
  • model.onnx
    436 MB
    xet
    Add new SentenceTransformer model. almost 2 years ago
  • model_description.json
    203 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • modules.json
    281 Bytes
    new model with pooler and normalizer almost 2 years ago
  • sentence_bert_config.json
    53 Bytes
    initial commit almost 2 years ago
  • special_tokens_map.json
    695 Bytes
    new model with pooler and normalizer almost 2 years ago
  • tokenizer.json
    712 kB
    Add new SentenceTransformer model. almost 2 years ago
  • tokenizer_config.json
    1.43 kB
    new model with pooler and normalizer almost 2 years ago
  • vocab.txt
    232 kB
    initial commit almost 2 years ago