Browse Source

train : fix compile warning

Georgi Gerganov 2 years ago
parent
commit
04606a1599
1 changed files with 2 additions and 1 deletions
  1. 2 1
      examples/train-text-from-scratch/train-text-from-scratch.cpp

+ 2 - 1
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;