mirror of https://github.com/google/gemma.cpp.git
Copybara: rename BUILD to BUILD.bazel.
PiperOrigin-RevId: 610039263
This commit is contained in:
parent
5b5c080b10
commit
5fe31ad0bc
5
run.cc
5
run.cc
|
|
@ -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 +
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue