Skip to content

Commit 45600a1

Browse files
committed
Remove unused variable val_split.
Signed-off-by: Marcus Edel <[email protected]>
1 parent d0acca3 commit 45600a1

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

examples/training/finetune.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,6 @@ int main(int argc, char ** argv) {
5454
LOG_INF("%s\n", common_params_get_system_info(params).c_str());
5555
}
5656

57-
constexpr float val_split = 0.05f;
58-
5957
std::vector<llama_token> tokens = common_tokenize(ctx.get(), params.prompt, true);
6058
ggml_opt_dataset_t dataset = common_opt_dataset_init(ctx.get(), tokens, llama_n_ctx(ctx.get())/2);
6159

0 commit comments

Comments
 (0)