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

hamtaai
/
bg3_model

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

Instructions to use hamtaai/bg3_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use hamtaai/bg3_model with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("hamtaai/bg3_model")
    
    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
bg3_model
2.3 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
hamtaai's picture
hamtaai
Update README.md
3e33816 verified 11 months ago
  • 1_Pooling
    Upload config.json about 1 year ago
  • .gitattributes
    1.57 kB
    Upload 12 files about 1 year ago
  • README.md
    3.75 kB
    Update README.md 11 months ago
  • colbert_linear.pt
    4.2 MB
    xet
    Upload 12 files about 1 year ago
  • config.json
    732 Bytes
    Upload 12 files about 1 year ago
  • config_sentence_transformers.json
    205 Bytes
    Upload 12 files about 1 year ago
  • model.safetensors
    2.27 GB
    xet
    Upload model.safetensors about 1 year ago
  • modules.json
    229 Bytes
    Upload 12 files about 1 year ago
  • sentence_bert_config.json
    53 Bytes
    Upload 12 files about 1 year ago
  • sentencepiece.bpe.model
    5.07 MB
    xet
    Upload 12 files about 1 year ago
  • sparse_linear.pt
    5.97 kB
    xet
    Upload 12 files about 1 year ago
  • special_tokens_map.json
    964 Bytes
    Upload 12 files about 1 year ago
  • tokenizer.json
    17.1 MB
    xet
    Upload 12 files about 1 year ago
  • tokenizer_config.json
    1.28 kB
    Upload 12 files about 1 year ago
  • training_args.bin
    6.03 kB
    xet
    Upload 12 files about 1 year ago