Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,38 @@
|
|
1 |
-
---
|
2 |
-
license: apache-2.0
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model:
|
4 |
+
- Qwen/Qwen2-VL-7B-Instruct
|
5 |
+
pipeline_tag: image-text-to-text
|
6 |
+
language:
|
7 |
+
- en
|
8 |
+
tags:
|
9 |
+
- multimodal
|
10 |
+
- conversational
|
11 |
+
---
|
12 |
+
|
13 |
+
# Qwen2-VL-2B-Instruct-GGUF (f16)
|
14 |
+
This is a F16 GGUF version of [Qwen2-VL-2B-Instruct](https://huggingface.co/Qwen/Qwen2-VL-2B-Instruct) for use with llama.cpp (i.e. you can run Qwen2-VL on your Mac)
|
15 |
+
|
16 |
+
# How to Use
|
17 |
+
1. Build `llama-qwen2vl-cli` executable
|
18 |
+
2. Download model files and use: `./llama-qwen2vl-cli -m Qwen2-VL-2B-Instruct-F16.gguf --mmproj qwen2-vl-2b-instruct-vision.gguf -p "Describe this image." --image crocodiles.png`
|
19 |
+
|
20 |
+
## Details on Usage:
|
21 |
+
1. **Download the model files from this repository** (sidrajaram/Qwen2-VL-2B-Instruct-GGUF).
|
22 |
+
|
23 |
+
2. Make sure you have **[llama.cpp](https://github.com/ggerganov/llama.cpp)** and have built the **`llama-qwen2vl-cli`** executable.
|
24 |
+
```
|
25 |
+
git clone https://github.com/ggerganov/llama.cpp.git
|
26 |
+
```
|
27 |
+
For example, building with CMake (see detailed llama.cpp build instructions: https://github.com/ggerganov/llama.cpp/blob/master/docs/build.md):
|
28 |
+
```
|
29 |
+
cmake -B build
|
30 |
+
cmake --build build --config Release
|
31 |
+
```
|
32 |
+
3. **Run**
|
33 |
+
```
|
34 |
+
./path/to/llama-qwen2vl-cli -m path/to/Qwen2-VL-2B-Instruct-F16.gguf --mmproj path/to/qwen2-vl-2b-instruct-vision.gguf -p "Describe this image." --image path/to/image.png
|
35 |
+
```
|
36 |
+
|
37 |
+
|
38 |
+
**Credit to the original model**: https://huggingface.co/Qwen/Qwen2-VL-2B-Instruct
|