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

onelevelstudio
/
BGEM3-0.6B

Sentence Similarity
sentence-transformers
PyTorch
ONNX
xlm-roberta
feature-extraction
text-embeddings-inference
Model card Files Files and versions
xet
Community
1

Instructions to use onelevelstudio/BGEM3-0.6B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use onelevelstudio/BGEM3-0.6B with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("onelevelstudio/BGEM3-0.6B")
    
    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
BGEM3-0.6B
4.59 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
baobuiquang's picture
baobuiquang
init
694b203 verified about 1 year ago
  • 1_Pooling
    init about 1 year ago
  • imgs
    init about 1 year ago
  • onnx
    init about 1 year ago
  • .gitattributes
    1.96 kB
    init about 1 year ago
  • README.md
    16.1 kB
    init about 1 year ago
  • colbert_linear.pt

    Detected Pickle imports (3)

    • "torch.HalfStorage",
    • "collections.OrderedDict",
    • "torch._utils._rebuild_tensor_v2"

    What is a pickle import?

    2.1 MB
    xet
    init about 1 year ago
  • config.json
    715 Bytes
    init about 1 year ago
  • config_sentence_transformers.json
    129 Bytes
    init about 1 year ago
  • long.jpg
    127 kB
    xet
    init about 1 year ago
  • modules.json
    368 Bytes
    init about 1 year ago
  • pytorch_model.bin

    Detected Pickle imports (3)

    • "collections.OrderedDict",
    • "torch._utils._rebuild_tensor_v2",
    • "torch.FloatStorage"

    What is a pickle import?

    2.27 GB
    xet
    init about 1 year ago
  • sentence_bert_config.json
    57 Bytes
    init about 1 year ago
  • sentencepiece.bpe.model
    5.07 MB
    xet
    init about 1 year ago
  • sparse_linear.pt

    Detected Pickle imports (3)

    • "torch._utils._rebuild_tensor_v2",
    • "torch.HalfStorage",
    • "collections.OrderedDict"

    What is a pickle import?

    3.52 kB
    xet
    init about 1 year ago
  • special_tokens_map.json
    1.02 kB
    init about 1 year ago
  • tokenizer.json
    17.1 MB
    xet
    init about 1 year ago
  • tokenizer_config.json
    464 Bytes
    init about 1 year ago