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

BAAI
/
BGE-VL-base

Sentence Similarity
sentence-transformers
Safetensors
English
clip
multimodal-retrieval
embedding-model
custom_code
Model card Files Files and versions
xet
Community
7

Instructions to use BAAI/BGE-VL-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use BAAI/BGE-VL-base with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("BAAI/BGE-VL-base", trust_remote_code=True)
    
    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-VL-base / assets
Ctrl+K
Ctrl+K
  • 2 contributors
History: 2 commits
JUNJIE99's picture
JUNJIE99
Upload 4 files
1aba80d verified about 1 year ago
  • cir_candi_1.png
    51.7 kB
    Upload folder using huggingface_hub about 1 year ago
  • cir_candi_2.png
    901 kB
    xet
    Upload folder using huggingface_hub about 1 year ago
  • cir_query.png
    153 kB
    xet
    Upload folder using huggingface_hub about 1 year ago
  • res-ft-mmeb.png
    116 kB
    xet
    Upload 4 files about 1 year ago
  • res-scaling.png
    137 kB
    xet
    Upload 4 files about 1 year ago
  • res-zs-cir.png
    261 kB
    xet
    Upload 4 files about 1 year ago
  • res-zs-mmeb.png
    136 kB
    xet
    Upload 4 files about 1 year ago