Copybara: rename BUILD to BUILD.bazel.

PiperOrigin-RevId: 610039263
This commit is contained in:
Dan Zheng 2024-02-24 12:54:47 -08:00
parent 5b5c080b10
commit 5fe31ad0bc
1 changed files with 0 additions and 5 deletions

5
run.cc
View File

@ -144,11 +144,6 @@ void ReplGemma(gcpp::Gemma& model, hwy::ThreadPool& pool,
return; return;
} }
if (prompt_string == "%c" || prompt_string == "%C") {
abs_pos = 0;
continue;
}
if (model.model_training == ModelTraining::GEMMA_IT) { if (model.model_training == ModelTraining::GEMMA_IT) {
// For instruction-tuned models: add control tokens. // For instruction-tuned models: add control tokens.
prompt_string = "<start_of_turn>user\n" + prompt_string + prompt_string = "<start_of_turn>user\n" + prompt_string +