aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgi Gerganov <ggerganov@gmail.com>2023-07-01 18:45:44 +0300
committerGeorgi Gerganov <ggerganov@gmail.com>2023-07-01 18:45:44 +0300
commit04606a159947566b27810508433e6ca5dbc684ba (patch)
treea00acccc281c1be84e5425e97d194319f0bb9615
parentb1ca8f36a9cdbcee5f5c425df717611a1040a897 (diff)
train : fix compile warning
-rw-r--r--examples/train-text-from-scratch/train-text-from-scratch.cpp3
1 files changed, 2 insertions, 1 deletions
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;