Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Llama model doesn't answer #1

Open
shkim-emily opened this issue May 11, 2024 · 1 comment
Open

Llama model doesn't answer #1

shkim-emily opened this issue May 11, 2024 · 1 comment

Comments

@shkim-emily
Copy link

Screenshot 2024-05-10 at 7 04 25 PM
when I type a command like above, it doesn't answer.. what is the problem? I use the docker image
Screenshot 2024-05-10 at 7 04 48 PM

@joennlae
Copy link
Owner

Thank you for the question :-)

Did you also download and build the model and llama.cpp like done here:

test-llama:
# download llama.cpp
$(RUN) "git clone https://github.com/ggerganov/llama.cpp.git"
# building llama.cpp
$(RUN) "cd llama.cpp && CC=gcc-13 CXX=g++-13 make -j 2"
# download Llama 7B chat model Q4_K_M https://huggingface.co/TheBloke/Llama-2-7b-Chat-GGUF
$(RUN) "cd llama.cpp/models/ && wget -q https://huggingface.co/TheBloke/Llama-2-7b-Chat-GGUF/resolve/main/llama-2-7b-chat.Q4_K_M.gguf"
# run an inference on RISC-V
$(RUN) "cd llama.cpp && ./main -m models/llama-2-7b-chat.Q4_K_M.gguf -p \"What do you think about RISC-V?\" -n 100 -e"

?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants