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

dabitbol
/
bge-m3-sparse-elastic

Sentence Similarity
sentence-transformers
PyTorch
Safetensors
xlm-roberta
feature-extraction
Model card Files Files and versions
xet

Instructions to use dabitbol/bge-m3-sparse-elastic with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use dabitbol/bge-m3-sparse-elastic with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("dabitbol/bge-m3-sparse-elastic")
    
    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
bge-m3-sparse-elastic
4.55 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 4 commits
dabitbol
updated README
81fee22 over 2 years ago
  • 1_Pooling
    initial commit over 2 years ago
  • imgs
    initial commit over 2 years ago
  • .gitattributes
    1.56 kB
    Add design file over 2 years ago
  • README.md
    15.3 kB
    updated README over 2 years ago
  • colbert_linear.pt
    2.1 MB
    xet
    initial commit over 2 years ago
  • config.json
    687 Bytes
    initial commit over 2 years ago
  • config_sentence_transformers.json
    123 Bytes
    initial commit over 2 years ago
  • handler.py
    1.03 kB
    initial commit over 2 years ago
  • long.jpg
    127 kB
    initial commit over 2 years ago
  • model.safetensors
    2.27 GB
    xet
    initial commit over 2 years ago
  • modules.json
    349 Bytes
    initial commit over 2 years ago
  • pytorch_model.bin
    2.27 GB
    xet
    initial commit over 2 years ago
  • requirements.txt
    14 Bytes
    initial commit over 2 years ago
  • sentence_bert_config.json
    54 Bytes
    initial commit over 2 years ago
  • sentencepiece.bpe.model
    5.07 MB
    xet
    initial commit over 2 years ago
  • sparse_linear.pt
    3.52 kB
    xet
    initial commit over 2 years ago
  • special_tokens_map.json
    964 Bytes
    initial commit over 2 years ago
  • tokenizer_config.json
    1.31 kB
    initial commit over 2 years ago