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-MLLM-S1

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

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

  • Libraries
  • sentence-transformers

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

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("BAAI/BGE-VL-MLLM-S1", 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
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

LlavaNextProcessor from_pretrained Fails - tokenizer.json Loading Error

#2 opened about 1 year ago by
CrystalTang

Encountered an error while running the example.

3
#1 opened about 1 year ago by
i2vec
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs