Downloads · 30 days
20
13% of all-time downloads
sakp7/Qwen2.5-VL-7B-Instruct-INT8
Qwen2.5-VL-7B-Instruct-INT8 is a machine learning model from sakp7. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This is an 8-bit quantized version of Qwen2.5-VL-7B-Instruct for more efficient deployment.
Downloads · 30 days
20
13% of all-time downloads
All-time downloads
155
Public
Parameters
8.3B
9.4 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors9.4 GB · 100%
How the weights are stored.
I87.2B · 87%
From the Hugging Face model README
This is an 8-bit quantized version of Qwen2.5-VL-7B-Instruct for more efficient deployment.
from vllm import LLM, SamplingParams
from PIL import Image
# Initialize the model
llm = LLM(model="sakp7/Qwen2.5-VL-7B-Instruct-INT8", quantization="8bit")
# Prepare image and prompt
image = Image.open("example.jpg")
prompt = "Describe this image in detail."
# Generate response
sampling_params = SamplingParams(temperature=0.7, max_tokens=256)
outputs = llm.generate_for_multimodal_prompts([[prompt, image]], sampling_params)
print(outputs[0].outputs[0].text)