File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -1966,10 +1966,12 @@ common_params_context common_params_parser_init(common_params & params, llama_ex
19661966 ).set_examples ({LLAMA_EXAMPLE_MAIN, LLAMA_EXAMPLE_SERVER}).set_env (" LLAMA_ARG_CHAT_TEMPLATE" ));
19671967 add_opt (common_arg (
19681968 {" --chat-template-file" }, " JINJA_TEMPLATE_FILE" ,
1969- " set custom jinja chat template file (default: template taken from model's metadata)\n "
1970- " if suffix/prefix are specified, template will be disabled\n "
1971- " only commonly used templates are accepted (unless --jinja is set before this flag):\n "
1972- " https://github.com/ggerganov/llama.cpp/wiki/Templates-supported-by-llama_chat_apply_template" ,
1969+ string_format (
1970+ " set custom jinja chat template file (default: template taken from model's metadata)\n "
1971+ " if suffix/prefix are specified, template will be disabled\n "
1972+ " only commonly used templates are accepted (unless --jinja is set before this flag):\n "
1973+ " list of built-in templates:\n %s" , list_builtin_chat_templates ().c_str ()
1974+ ),
19731975 [](common_params & params, const std::string & value) {
19741976 std::ifstream file (value);
19751977 if (!file) {
You can’t perform that action at this time.
0 commit comments