Qwen2.5-VL-3B-Instruct-MNN
Author: taobao-mnn
Downloads: 607
Likes: 0
License: Apache 2.0
Created: Feb 18, 2025
Last Modified: May 7, 2025
Qwen2.5-VL-3B-Instruct-MNN
Introduction
This model is a 4-bit quantized version of the MNN model exported from Qwen2.5-VL-3B-Instruct using llmexport.
Download
# install huggingface
pip install huggingface
# shell download
huggingface download --model 'taobao-mnn/Qwen2.5-VL-3B-Instruct-MNN' --local_dir 'path/to/dir'
# SDK download
from huggingface_hub import snapshot_download
model_dir = snapshot_download('taobao-mnn/Qwen2.5-VL-3B-Instruct-MNN')
# git clone
git clone https://www.modelscope.cn/taobao-mnn/Qwen2.5-VL-3B-Instruct-MNN
Usage
# clone MNN source
git clone https://github.com/alibaba/MNN.git
# compile
cd MNN
mkdir build && cd build
cmake .. -DMNN_LOW_MEMORY=true -DMNN_CPU_WEIGHT_DEQUANT_GEMM=true -DMNN_BUILD_LLM=true -DMNN_SUPPORT_TRANSFORMER_FUSE=true
make -j
# run
./llm_demo /path/to/Qwen2.5-VL-3B-Instruct-MNN/config.json prompt.txt
Document
Share this model
Found this model useful? Share it with others!