Skip to content

Commit 0996c55

Browse files
authored
llava : correct args for minicpmv-cli (#9429)
1 parent 5bb2c5d commit 0996c55

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/llava/minicpmv-cli.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ struct llava_context {
1818
};
1919

2020
static void show_additional_info(int /*argc*/, char ** argv) {
21-
LOG_TEE("\n example usage: %s -m <llava-v1.5-7b/ggml-model-q5_k.gguf> --mmproj <llava-v1.5-7b/mmproj-model-f16.gguf> --image <path/to/an/image.jpg> --image <path/to/another/image.jpg> [--temp 0.1] [-p \"describe the image in detail.\"]\n", argv[0]);
22-
LOG_TEE(" note: a lower temperature value like 0.1 is recommended for better quality.\n");
21+
LOG_TEE("\nexample usage:\n\n%s -m <llava-v1.5-7b/ggml-model-q5_k.gguf> --mmproj <llava-v1.5-7b/mmproj-model-f16.gguf> --image <path/to/an/image.jpg> --image <path/to/another/image.jpg> [--temp 0.1] [-p \"describe the image in detail.\"]\n", argv[0]);
22+
LOG_TEE("\nnote: a lower temperature value like 0.1 is recommended for better quality.\n");
2323
}
2424

2525
static void llama_log_callback_logTee(ggml_log_level level, const char * text, void * user_data) {
@@ -255,7 +255,7 @@ int main(int argc, char ** argv) {
255255

256256
gpt_params params;
257257

258-
if (!gpt_params_parse(argc, argv, params, LLAMA_EXAMPLE_COMMON, show_additional_info)) {
258+
if (!gpt_params_parse(argc, argv, params, LLAMA_EXAMPLE_LLAVA, show_additional_info)) {
259259
return 1;
260260
}
261261

0 commit comments

Comments
 (0)