diff options
author | Robey Holderith <robey@flaminglunchbox.net> | 2024-02-18 11:11:16 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-18 21:11:16 +0200 |
commit | 5ee99c32f5e47c8d32634eff9a47fb32a24c276b (patch) | |
tree | b96e45b36fe325a926025f94655a885428c84f47 /common/common.cpp | |
parent | c145f8a132b2fe1d1e65987faddbd9a40bef7a12 (diff) |
common, server : surface min_keep as its own parameter (#5567)
* Feature - surface min_keep as its own parameter
* Updated README with min_keep param
Diffstat (limited to 'common/common.cpp')
-rw-r--r-- | common/common.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/common.cpp b/common/common.cpp index 489462b5..10ef1182 100644 --- a/common/common.cpp +++ b/common/common.cpp @@ -1704,6 +1704,7 @@ void dump_non_result_info_yaml(FILE * stream, const gpt_params & params, const l } fprintf(stream, "lora_base: %s\n", params.lora_base.c_str()); fprintf(stream, "main_gpu: %d # default: 0\n", params.main_gpu); + fprintf(stream, "min_keep: %d # default: 0 (disabled)\n", sparams.min_keep); fprintf(stream, "mirostat: %d # default: 0 (disabled)\n", sparams.mirostat); fprintf(stream, "mirostat_ent: %f # default: 5.0\n", sparams.mirostat_tau); fprintf(stream, "mirostat_lr: %f # default: 0.1\n", sparams.mirostat_eta); |