llama-cpp-python icon indicating copy to clipboard operation
llama-cpp-python copied to clipboard

mistral 7b model

Open adeelhasan19 opened this issue 3 years ago • 2 comments

llm = LlamaCPP( model_url='https://huggingface.co/TheBloke/Mistral-7B-Instruct-v0.1-GGUF/blob/main/mistral-7b-instruct-v0.1.Q5_K_M.gguf',)

i am using the above line to download model but got
"ValueError: Download incomplete"

adeelhasan19 avatar Sep 29 '23 13:09 adeelhasan19

Mistral is other model architecture... I don't know if llama.cpp would create a integration

pabl-o-ce avatar Oct 03 '23 13:10 pabl-o-ce

I can use llama-cpp-python with Mistral GGUF Okay (TheBloke mistral-7b-instruct-v0.1.Q5_K_M.gguf). Just did today, 2023-10-04.

Use latest code.

git clone --recurse-submodules https://github.com/abetlen/llama-cpp-python.git
cd llama-cpp-python/
make build

lxa-g avatar Oct 04 '23 14:10 lxa-g