Sentence Similarity
sentence-transformers
Safetensors
Transformers
English
Chinese
qwen2_vl
image-text-to-text
mteb
Qwen2-VL
vidore
custom_code
Eval Results (legacy)
Instructions to use Alibaba-NLP/gme-Qwen2-VL-7B-Instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Alibaba-NLP/gme-Qwen2-VL-7B-Instruct with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Alibaba-NLP/gme-Qwen2-VL-7B-Instruct", 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] - Transformers
How to use Alibaba-NLP/gme-Qwen2-VL-7B-Instruct with Transformers:
# Load model directly from transformers import AutoProcessor, AutoModelForImageTextToText processor = AutoProcessor.from_pretrained("Alibaba-NLP/gme-Qwen2-VL-7B-Instruct", trust_remote_code=True) model = AutoModelForImageTextToText.from_pretrained("Alibaba-NLP/gme-Qwen2-VL-7B-Instruct", trust_remote_code=True) - Notebooks
- Google Colab
- Kaggle
Release the UMRB
pinned 4
#2 opened over 1 year ago
by
BestWishYsh
Can load and run model in GME-2B, but can't run in GME-7B version
🤯➕ 2
#12 opened 5 months ago
by
azhukk28
About the training set
1
#11 opened 11 months ago
by
hzf666
Use get_input_embeddings() Instead of Accessing .embed_tokens Directly
1
#8 opened 12 months ago
by
Zhenzhao
training code supported
#6 opened about 1 year ago
by
tastelikefeet
Question about the Figure 5 in ArXiv
4
#3 opened over 1 year ago
by
BestWishYsh