]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
Use unsigned for random seed (#2006)
authorHoward Su <redacted>
Thu, 29 Jun 2023 13:15:15 +0000 (21:15 +0800)
committerGitHub <redacted>
Thu, 29 Jun 2023 13:15:15 +0000 (06:15 -0700)
commitb8c8dda75fdf5fdea49c80af36818e7c30fe0ddf
tree85107b89339fe14e31b33703d6dcf440664695ca
parent96a712ca1b7f427e3bd7ffc0c70b2105cfc7fbf1
Use unsigned for random seed (#2006)

* Use unsigned for random seed. Keep -1 as the value to use a time based seed.

Co-authored-by: Georgi Gerganov <redacted>
examples/common.cpp
examples/common.h
examples/embedding/embedding.cpp
examples/main/README.md
examples/main/main.cpp
examples/perplexity/perplexity.cpp
examples/server/README.md
examples/train-text-from-scratch/train-text-from-scratch.cpp
llama.cpp
llama.h