diff --git a/examples/embd_input/README.md b/examples/embd_input/README.md index 1d23d086d..56db072cf 100644 --- a/examples/embd_input/README.md +++ b/examples/embd_input/README.md @@ -3,8 +3,12 @@ ## LLAVA example (llava.py) 1. obtian llava model (following https://github.com/haotian-liu/LLaVA/ , use https://huggingface.co/liuhaotian/LLaVA-13b-delta-v1-1/) -2. convert it to ggml format -3. llava_projection.pth is [pytorch_model-00003-of-00003.bin](https://huggingface.co/liuhaotian/LLaVA-13b-delta-v1-1/blob/main/pytorch_model-00003-of-00003.bin) +2. build `libembd_input.so` +``` +make +``` +3. convert it to ggml format +4. llava_projection.pth is [pytorch_model-00003-of-00003.bin](https://huggingface.co/liuhaotian/LLaVA-13b-delta-v1-1/blob/main/pytorch_model-00003-of-00003.bin) ``` import torch @@ -17,4 +21,3 @@ used_key = ["model.mm_projector.weight","model.mm_projector.bias"] torch.save({k: dic[k] for k in used_key}, pth_path) ``` -