How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("image-text-to-text", model="gaianet/Qwen2-VL-7B-Instruct-GGUF")
messages = [
    {
        "role": "user",
        "content": [
            {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"},
            {"type": "text", "text": "What animal is on the candy?"}
        ]
    },
]
pipe(text=messages)
# Load model directly
from transformers import AutoProcessor, AutoModelForMultimodalLM

processor = AutoProcessor.from_pretrained("gaianet/Qwen2-VL-7B-Instruct-GGUF")
model = AutoModelForMultimodalLM.from_pretrained("gaianet/Qwen2-VL-7B-Instruct-GGUF", device_map="auto")
Quick Links

Qwen2-VL-7B-Instruct-GGUF

Original Model

Qwen/Qwen2-VL-7B-Instruct

Run with Gaianet

Prompt template:

prompt template: qwen2-vision

Context size:

chat_ctx_size: 32000

Run with GaiaNet:

Quantized with llama.cpp b4329

Downloads last month
246
GGUF
Model size
8B params
Architecture
qwen2vl
Hardware compatibility
Log In to add your hardware

2-bit

3-bit

4-bit

5-bit

6-bit

8-bit

16-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for gaianet/Qwen2-VL-7B-Instruct-GGUF

Base model

Qwen/Qwen2-VL-7B
Quantized
(59)
this model