Downloads · 30 days
221
5% of all-time downloads
Intel/Qwen2.5-Omni-7B-int4-AutoRound
Qwen2.5-Omni-7B-int4-AutoRound is a machine learning model from Intel. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
This model is a mixed int4 model with groupsize 128 and symmetric quantization of Qwen/Qwen2.5-Omni-7B generated by intel/auto-round. Please follow the license of the original model.
Downloads · 30 days
221
5% of all-time downloads
All-time downloads
4K
Public
Parameters
5.1B
22.2 GB on disk
Likes
3
Public
Click a slice to open those files.
.safetensors12.7 GB · 100%
How the weights are stored.
BF163.8B · 74%
From the Hugging Face model README
This model is a mixed int4 model with group_size 128 and symmetric quantization of Qwen/Qwen2.5-Omni-7B generated by intel/auto-round. Please follow the license of the original model.
Setup
pip install git+https://github.com/lvliang-intel/vllm-omni.git@feats/ar-w4a16-qwen-omni
pip install git+https://github.com/huggingface/transformers.git
CUDA_VISIBLE_DEVICES=0 vllm serve Intel/Qwen2.5-Omni-7B-int4-AutoRound --omni --port 8091
curl -s http://localhost:8091/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "Intel/Qwen2.5-Omni-7B-int4-AutoRound",
"messages": [
{
"role": "system",
"content": "You are Qwen, a virtual human developed by the Qwen Team, Alibaba Group, capable of perceiving auditory and visual inputs, as well as generating text and speech."
},
{
"role": "user",
"content": "What is 2 + 3? Answer with just the number."
}
],
"temperature": 0.0,
"max_tokens": 2048,
"repetition_penalty": 1.1
}'
curl -s http://127.0.0.1:8091/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "Intel/Qwen2.5-Omni-7B-int4-AutoRound",
"messages": [
{
"role": "system",
"content": "You are Qwen, a virtual human developed by the Qwen Team, Alibaba Group, capable of perceiving auditory and visual inputs, as well as generating text and speech."
},
{
"role": "user",
"content": [
{
"type": "image_url",
"image_url": {
"url": "https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen3-Omni/demo/cars.jpg"
}
},
{
"type": "text",
"text": "Describe this image in one short sentence."
}
]
}
],
"temperature": 0.0,
"max_tokens": 2048,
"repetition_penalty": 1.1
}'
curl -s http://127.0.0.1:8091/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "Intel/Qwen2.5-Omni-7B-int4-AutoRound",
"messages": [
{
"role": "system",
"content": "You are Qwen, a virtual human developed by the Qwen Team, Alibaba Group, capable of perceiving auditory and visual inputs, as well as generating text and speech."
},
{
"role": "user",
"content": [
{
"type": "audio_url",
"audio_url": {
"url": "https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen3-Omni/demo/cough.wav"
}
},
{
"type": "text",
"text": "What sound can you hear? Answer in one short sentence."
}
]
}
],
"temperature": 0.0,
"max_tokens": 2048,
"repetition_penalty": 1.1
}'
auto_round \
--model Qwen/Qwen2.5-Omni-7B \
--bits 4 \
--group_size 128 \
--format auto_round \
--iters 200 \
--lr 5e-3 \
--output_dir tmp_qwen25_omni_w4a16 \
--trust_remote_code
The model can produce factually incorrect output, and should not be relied on to produce factually accurate information. Because of the limitations of the pretrained model and the finetuning datasets, it is possible that this model could generate lewd, biased or otherwise offensive outputs.
Therefore, before deploying any applications of the model, developers should perform safety testing.
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model.
Here are a couple of useful links to learn more about Intel's AI software:
The license on this model does not constitute legal advice. We are not responsible for the actions of third parties who use this model. Please consult an attorney before using this model for commercial purposes.
@article{cheng2023optimize, title={Optimize weight rounding via signed gradient descent for the quantization of llms}, author={Cheng, Wenhua and Zhang, Weiwei and Shen, Haihao and Cai, Yiyang and He, Xin and Lv, Kaokao and Liu, Yi}, journal={arXiv preprint arXiv:2309.05516}, year={2023} }