33 lines
1.1 KiB
Markdown
33 lines
1.1 KiB
Markdown
|
|
---
|
|||
|
|
frameworks:
|
|||
|
|
- other
|
|||
|
|
license: Apache License 2.0
|
|||
|
|
tasks:
|
|||
|
|
- image-text-to-text
|
|||
|
|
|
|||
|
|
base_model:
|
|||
|
|
- Qwen/Qwen2-VL-7B-Instruct
|
|||
|
|
---
|
|||
|
|
Qwen2-VL-7B-Instruct模型的GGUF版本,可以通过llamacpp运行:
|
|||
|
|
```shell
|
|||
|
|
llama.cpp/build/bin/llama-qwen2vl-cli -m ./Qwen2-VL-7B-Instruct-GGUF/Qwen2-VL-7B-Instruct-Q4_K_M.gguf --mmproj ./Qwen2-VL-7B-Instruct-GGUF/Qwen2-VL-7B-Instruct-Vision.gguf -p "Describe the image" --image "image.jpg"
|
|||
|
|
```
|
|||
|
|
#### 您可以通过如下git clone命令,或者ModelScope SDK来下载模型
|
|||
|
|
|
|||
|
|
SDK下载
|
|||
|
|
```bash
|
|||
|
|
#安装ModelScope
|
|||
|
|
pip install modelscope
|
|||
|
|
```
|
|||
|
|
```python
|
|||
|
|
#SDK模型下载
|
|||
|
|
from modelscope import snapshot_download
|
|||
|
|
model_dir = snapshot_download('AI-ModelScope/Qwen2-VL-7B-Instruct-GGUF')
|
|||
|
|
```
|
|||
|
|
Git下载
|
|||
|
|
```
|
|||
|
|
#Git模型下载
|
|||
|
|
git clone https://www.modelscope.cn/AI-ModelScope/Qwen2-VL-7B-Instruct-GGUF.git
|
|||
|
|
```
|
|||
|
|
|
|||
|
|
<p style="color: lightgrey;">如果您是本模型的贡献者,我们邀请您根据<a href="https://modelscope.cn/docs/ModelScope%E6%A8%A1%E5%9E%8B%E6%8E%A5%E5%85%A5%E6%B5%81%E7%A8%8B%E6%A6%82%E8%A7%88" style="color: lightgrey; text-decoration: underline;">模型贡献文档</a>,及时完善模型卡片内容。</p>
|