SIGN IN SIGN UP

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
J
John committed
33c9892af58b7b161f2a532935dcccff8c8048c6
Parent: 8efa0f6
Committed by GitHub <noreply@github.com> on 11/30/2023, 10:11:14 PM