Skip to content

Commit a838165

Browse files
danbevhodlen
authored andcommitted
llava : add missing .py, and fix paths in README.md (ggml-org#5414)
This commit adds the missing .py extension to the convert-image-encoder-to-gguf script. It also fixes the paths for the `model` and `mmproj` options in the example llava-cli command. Signed-off-by: Daniel Bevenius <[email protected]>
1 parent 9b3a6e0 commit a838165

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/llava/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Build with cmake or run `make llava-cli` to build it.
1414
After building, run: `./llava-cli` to see the usage. For example:
1515

1616
```sh
17-
./llava-cli -m llava-v1.5-7b/ggml-model-q5_k.gguf --mmproj llava-v1.5-7b/mmproj-model-f16.gguf --image path/to/an/image.jpg
17+
./llava-cli -m ../llava-v1.5-7b/ggml-model-f16.gguf --mmproj ../llava-v1.5-7b/mmproj-model-f16.gguf --image path/to/an/image.jpg
1818
```
1919

2020
**note**: A lower temperature like 0.1 is recommended for better quality. add `--temp 0.1` to the command to do so.
@@ -38,7 +38,7 @@ python ./examples/llava/llava-surgery.py -m ../llava-v1.5-7b
3838
3. Use `convert-image-encoder-to-gguf.py` to convert the LLaVA image encoder to GGUF:
3939

4040
```sh
41-
python ./examples/llava/convert-image-encoder-to-gguf -m ../clip-vit-large-patch14-336 --llava-projector ../llava-v1.5-7b/llava.projector --output-dir ../llava-v1.5-7b
41+
python ./examples/llava/convert-image-encoder-to-gguf.py -m ../clip-vit-large-patch14-336 --llava-projector ../llava-v1.5-7b/llava.projector --output-dir ../llava-v1.5-7b
4242
```
4343

4444
4. Use `convert.py` to convert the LLaMA part of LLaVA to GGUF:

0 commit comments

Comments
 (0)