@@ -144,7 +144,7 @@ struct callback_data {
144
144
return diff_filtered;
145
145
}
146
146
147
- // we don't implement destructor, because we want to reuse callback_data. we just want to free the tensors
147
+ // we don't implement destructor, because we want to reuse callback_data. we just want to free the tensors
148
148
void reset () {
149
149
for (auto ptr : v_pos) free (ptr->data );
150
150
for (auto ptr : v_neg) free (ptr->data );
@@ -430,7 +430,7 @@ static int ctrlvec_params_parse(int argc, char ** argv, ctrl_params & params) {
430
430
catch (const std::invalid_argument & ex) {
431
431
fprintf (stderr, " %s\n " , ex.what ());
432
432
print_usage (argv[0 ]);
433
- exit (EXIT_FAILURE);
433
+ exit (EXIT_FAILURE);
434
434
}
435
435
return skipme;
436
436
}
@@ -495,7 +495,7 @@ static void export_gguf(const std::vector<struct ggml_tensor *> & v_ctrl, const
495
495
printf (" Added tensor: %s\n " , v_ctrl[i]->name );
496
496
}
497
497
498
- printf (" Writing file...\n " );
498
+ printf (" Writing file...\n " );
499
499
500
500
gguf_write_to_file (ctx, fname.c_str (), false );
501
501
@@ -603,7 +603,7 @@ int main(int argc, char ** argv) {
603
603
cb_data.n_layers = n_layers;
604
604
cb_data.n_tokens = t.max_seq_len ;
605
605
606
- printf (" Evaluating prompt[%ld/%ld]: \" %s\" - \" %s\" (%ld tokens)\n " ,
606
+ printf (" Evaluating prompt[%ld/%ld]: \" %s\" - \" %s\" (%ld tokens)\n " ,
607
607
i+1 , cparams.positive_entries .size (),
608
608
tokens_to_str (ctx, t.tokens_pos .cbegin (), t.tokens_pos .cend ()).c_str (),
609
609
tokens_to_str (ctx, t.tokens_neg .cbegin (), t.tokens_neg .cend ()).c_str (),
0 commit comments