llama.cpp/examples/simple-chat
2025-01-13 19:58:15 +00:00
..
CMakeLists.txt ggml : move AMX to the CPU backend (#10570) 2024-11-29 21:54:58 +01:00
README.md llama : add simple-chat example (#10124) 2024-11-01 23:50:59 +01:00
simple-chat.cpp Wire LLM_KV_TOKENIZER_CHAT_TEMPLATE_N in llama_model_chat_template 2025-01-13 19:58:15 +00:00

llama.cpp/example/simple-chat

The purpose of this example is to demonstrate a minimal usage of llama.cpp to create a simple chat program using the chat template from the GGUF file.

./llama-simple-chat -m Meta-Llama-3.1-8B-Instruct.gguf -c 2048
...