Qwen2.5 VL AWQ 7B is a vision-language model that supports 7 billion parameters, offering advanced capabilities such as visual analysis, agentic reasoning, long video comprehension, visual localization, and structured output generation.
Model details
| Category | Details |
|---|---|
| Model Name | Qwen2.5 VL |
| Version | AWQ 7B |
| Model Category | VLM |
| Size | 7B params |
| HuggingFace Model | Qwen/Qwen2.5-VL-7B-Instruct-AWQ |
| OpenAI Compatible endpoint | Chat API Overview |
| License | Apache 2.0 |
Capabilities
| Feature | Details |
|---|---|
| Tool Calling | ✅ |
| Context Length | 32k tokens |
| Supports LoRA | ✅ |
| Input data | Text + Image |
Usage
Basic chat completion
This is a basic chat completion example using this model:
const modelResponse = await Azion.AI.run("qwen-qwen25-vl-7b-instruct-awq", { "stream": true, "messages": [ { "role": "system", "content": "You are a helpful assistant." }, { "role": "user", "content": "Name the european capitals" } ]})Tool Calling Example
const modelResponse = await Azion.AI.run("qwen-qwen25-vl-7b-instruct-awq", { "stream": true, "messages": [ { "role": "system", "content": "You are a helpful assistant with access to tools." }, { "role": "user", "content": "What is the weather in London?" } ], "tools": [ { "type": "function", "function": { "name": "get_weather", "description": "Get the current weather for a location", "parameters": { "type": "object", "properties": { "location": { "type": "string", "description": "The city and state" } }, "required": ["location"] } } } ]})Multimodal (text + image) example
const modelResponse = await Azion.AI.run("qwen-qwen25-vl-7b-instruct-awq", { "stream": true, "messages": [ { "role": "system", "content": "You are a helpful assistant." }, { "role": "user", "content": [ { "type": "text", "text": "What is in this image?" }, { "type": "image_url", "image_url": { "url": "https://example.com/image.jpg" } } ] } ]})The response will be similar to the one in the Basic Chat Completion example.