llama.cpp/examples/simple-chat
2025-06-22 20:10:07 +03: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 examples : fix is_first logic for tokenization (#14329) 2025-06-22 20:10:07 +03: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
...