add usage

This commit is contained in:
sasha0552 2024-06-05 08:41:11 +00:00 committed by GitHub
parent d15e6623e9
commit 2df61bf59e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1839,6 +1839,8 @@ void gpt_params_print_usage(int /*argc*/, char ** argv, const gpt_params & param
"set custom jinja chat template (default: template taken from model's metadata)\n"
"only commonly used templates are accepted:\n"
"https://github.com/ggerganov/llama.cpp/wiki/Templates-supported-by-llama_chat_apply_template" });
options.push_back({ "server", " --lcs-similarity SIMILARITY",
"how much the prompt of a request must match the prompt of a slot in order to use that slot (default: %.2f)\n", params.lcs_similarity });
#ifndef LOG_DISABLE_LOGS
options.push_back({ "logging" });