Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
https://github.com/ggerganov/llama.cpp/issues/9246
|
2 |
+
|
3 |
+
thanks to :https://github.com/HimariO/llama.cpp/tree/qwen2-vl
|
4 |
+
|
5 |
+
Follow steps:
|
6 |
+
|
7 |
+
1 Download `turingevo/Qwen2-VL-2B-Instruct-gguf`
|
8 |
+
2 `git clone https://github.com/HimariO/llama.cpp/tree/qwen2-vl` then build ,get target `llama-qwen2vl-cli`
|
9 |
+
3 Get pictures:
|
10 |
+
It's recommended to resize the image to a resolution below 640x640, so it won't take forever to run on CPU backend:
|
11 |
+
`ffmpeg -i input.jpeg -vf "scale=512:512" 1.png`
|
12 |
+
|
13 |
+
4 cmd: `llama-qwen2vl-cli -m Qwen2-VL-2B-Instruct-F16.gguf --mmproj qwen2vl-vision.gguf -p "Describe this image" --image "1.png"`
|
14 |
+
|
15 |
+
|
16 |
+
|