Sentence Similarity
sentence-transformers
Safetensors
English
llava_next
multimodal-retrieval
embedding-model
custom_code
Instructions to use BAAI/BGE-VL-v1.5-mmeb with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use BAAI/BGE-VL-v1.5-mmeb with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("BAAI/BGE-VL-v1.5-mmeb", 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
Integrate with Sentence Transformers v5.4
#2
by tomaarsen HF Staff - opened
Hello!
Pull Request overview
- Integrate with Sentence Transformers v5.4
Details
These changes mirror those in https://huggingface.co/BAAI/BGE-VL-MLLM-S1/discussions/3, with one exception: the processor_config.json doesn't have the image_processor data: that addition broke transformers v4.x support. I'll also make PRs to S1 and S2 to fix that, as transformers v4.x has issues for those now. My apologies.
- Tom Aarsen
tomaarsen changed pull request status to open
JUNJIE99 changed pull request status to merged