Sentence Similarity
sentence-transformers
Safetensors
English
llava_next
multimodal-retrieval
embedding-model
custom_code
Instructions to use BAAI/BGE-VL-MLLM-S2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use BAAI/BGE-VL-MLLM-S2 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("BAAI/BGE-VL-MLLM-S2", 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
Commit History
-
Simplify processor_config.json for transformers v4.x compatibility (#6)
- Simplify processor_config.json for transformers v4.x compatibility (85345af2f35b66e6083b5ee24d23fa4c41faa6e1)20137e2 -
Integrate with Sentence Transformers v5.4 (#5)
- Integrate with Sentence Transformers v5.4 (7a636c4ab21640ae0798c51ad60ade9bf29aab45) - Remove old inline chat_template (6ee641a63bd9585f39fdf7b93d4b01bff88fd530)4de778d