Skip to content

Commit 8c9be35

Browse files
authored
examples : improve vertical alignment of a few variables (#1286)
Signed-off-by: deadprogram <[email protected]>
1 parent cc0bb72 commit 8c9be35

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

examples/main/main.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -298,17 +298,17 @@ int main(int argc, char ** argv) {
298298
}
299299

300300
bool is_antiprompt = false;
301-
bool input_echo = true;
301+
bool input_echo = true;
302302

303303
// HACK - because session saving incurs a non-negligible delay, for now skip re-saving session
304304
// if we loaded a session with at least 75% similarity. It's currently just used to speed up the
305305
// initial prompt so it doesn't need to be an exact match.
306306
bool need_to_save_session = !path_session.empty() && n_matching_session_tokens < (embd_inp.size() * 3 / 4);
307307

308308

309-
int n_past = 0;
310-
int n_remain = params.n_predict;
311-
int n_consumed = 0;
309+
int n_past = 0;
310+
int n_remain = params.n_predict;
311+
int n_consumed = 0;
312312
int n_session_consumed = 0;
313313

314314
// the first thing we will do is to output the prompt, so set color accordingly
@@ -413,7 +413,7 @@ int main(int argc, char ** argv) {
413413
llama_token id = 0;
414414

415415
{
416-
auto logits = llama_get_logits(ctx);
416+
auto logits = llama_get_logits(ctx);
417417
auto n_vocab = llama_n_vocab(ctx);
418418

419419
// Apply params.logit_bias map

0 commit comments

Comments
 (0)