]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
llava : ShareGPT4V compatibility (vision encoder only loading) (#4172)
authorJohn <redacted>
Thu, 30 Nov 2023 22:11:14 +0000 (23:11 +0100)
committerGitHub <redacted>
Thu, 30 Nov 2023 22:11:14 +0000 (23:11 +0100)
commit33c9892af58b7b161f2a532935dcccff8c8048c6
treebbf758b597a28645db936641a32d30210924da01
parent8efa0f6ebed53c9453e6721da86fb294e5015909
llava : ShareGPT4V compatibility (vision encoder only loading) (#4172)

* ShareGPT4 compatibility (vision encoder only loading)

Load only a CLIP vision encoder (as supplied by ShareGPT finetunes)
Corrects the argument parsing for --img_mean and --img_std (which were previously not parsed but attempted to access)
Defines defaults for img_mean and img_std which are equal to the llava 1.5 CLIP encoder, so you do not have to provide them

* Update convert-image-encoder-to-gguf.py
examples/llava/convert-image-encoder-to-gguf.py