From 04606a159947566b27810508433e6ca5dbc684ba Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Sat, 1 Jul 2023 18:45:44 +0300 Subject: train : fix compile warning --- examples/train-text-from-scratch/train-text-from-scratch.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/train-text-from-scratch/train-text-from-scratch.cpp b/examples/train-text-from-scratch/train-text-from-scratch.cpp index 05bfa80..c50eeb3 100644 --- a/examples/train-text-from-scratch/train-text-from-scratch.cpp +++ b/examples/train-text-from-scratch/train-text-from-scratch.cpp @@ -2671,7 +2671,8 @@ struct train_params { const char * fn_checkpoint_out; const char * fn_model_out; - int seed; + uint32_t seed; + int n_ctx; int n_embd; int n_mult; -- cgit v1.2.3