From d98f613cc41a196a7e287246b10ab16a5a8b4b46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Pazdiora?= Date: Sun, 9 Apr 2023 20:19:57 +0200 Subject: [PATCH] typos --- examples/common.cpp | 2 +- examples/common.h | 2 +- examples/main/main.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/common.cpp b/examples/common.cpp index 9bf5152fe..ebaa97374 100644 --- a/examples/common.cpp +++ b/examples/common.cpp @@ -334,7 +334,7 @@ void gpt_print_usage(char * argv_0, const gpt_params & params) { fprintf(stderr, " run in interactive mode and poll user input upon seeing PROMPT (can be\n"); fprintf(stderr, " specified more than once for multiple prompts).\n"); fprintf(stderr, " --color colorise output to distinguish prompt and user input from generations\n"); - fprintf(stderr, " --multiline multiline mode (use Ctrl+D on Linux/Mac and Ctrl+Z on Windpws to send input)\n"); + fprintf(stderr, " --multiline multiline mode (use Ctrl+D on Linux/Mac and Ctrl+Z then Return on Windows to send input)\n"); fprintf(stderr, " -s SEED, --seed SEED RNG seed (default: -1, use random seed for <= 0)\n"); fprintf(stderr, " -t N, --threads N number of threads to use during computation (default: %d)\n", params.n_threads); fprintf(stderr, " -p PROMPT, --prompt PROMPT\n"); diff --git a/examples/common.h b/examples/common.h index 413604600..edbacb697 100644 --- a/examples/common.h +++ b/examples/common.h @@ -60,7 +60,7 @@ struct gpt_params { bool verbose_prompt = false; // print prompt tokens before generation bool clean_interface = false; // hides input prefix & suffix and displays '>' - bool multiline_mode = false; // enables multi-line mode, to send input press CTRL+D on Linux/Max, CTRL+Z on Windows + bool multiline_mode = false; // enables multi-line mode, to send input press CTRL+D on Linux/Max, Ctrl+Z then Return on Windows }; bool gpt_params_parse(int argc, char ** argv, gpt_params & params); diff --git a/examples/main/main.cpp b/examples/main/main.cpp index 47969d218..5da2326d4 100644 --- a/examples/main/main.cpp +++ b/examples/main/main.cpp @@ -239,7 +239,7 @@ int main(int argc, char ** argv) { ); if (params.multiline_mode) { #if defined (_WIN32) - fprintf(stderr, " - [MULTILINE MODE] Press Ctrl+Z and Return (EOF) to return control to LLaMa.\n\n"); + fprintf(stderr, " - [MULTILINE MODE] Press Ctrl+Z then Return (EOF) to return control to LLaMa.\n\n"); #else fprintf(stderr, " - [MULTILINE MODE] Press Ctrl+D (EOF) to return control to LLaMa.\n\n"); #endif