From 7ab968c957a74b5b0c312212089fc878a310c245 Mon Sep 17 00:00:00 2001 From: Naoki Kishida Date: Mon, 26 Feb 2024 08:38:49 -0800 Subject: [PATCH] Copybara import of the project: -- 26b541b666a5860ced67a3df7630b6364eedd8cb by kishida : add information for the reseting conversation COPYBARA_INTEGRATE_REVIEW=https://github.com/google/gemma.cpp/pull/40 from kishida:add_info_for_reset_conv 26b541b666a5860ced67a3df7630b6364eedd8cb PiperOrigin-RevId: 610418671 --- README.md | 2 +- run.cc | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d31bbaf..5932726 100644 --- a/README.md +++ b/README.md @@ -273,7 +273,7 @@ max_tokens : 3072 max_generated_tokens : 2048 *Usage* - Enter an instruction and press enter (%Q quits). + Enter an instruction and press enter (%C reset conversation, %Q quits). *Examples* - Write an email to grandma thanking her for the cookies. diff --git a/run.cc b/run.cc index 96ba316..f83ead9 100644 --- a/run.cc +++ b/run.cc @@ -221,7 +221,8 @@ void Run(LoaderArgs& loader, InferenceArgs& inference, AppArgs& app) { const std::string instructions = "*Usage*\n" - " Enter an instruction and press enter (%Q quits).\n\n" + " Enter an instruction and press enter (%C reset conversation, " + "%Q quits).\n\n" "*Examples*\n" " - Write an email to grandma thanking her for the cookies.\n" " - What are some historical attractions to visit around "