diff options
author | Vladimir Zorin <vladimir@deviant.guru> | 2023-05-28 20:14:24 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-28 20:14:24 +0300 |
commit | 337aea11390221bc925e4acb1f603f1649af2735 (patch) | |
tree | 5ced14826ee129c30c6c4a1509dcfc10acbbc5b8 /examples/common.h | |
parent | bb051d9723d628414b9e929e5264e23262a2f1b2 (diff) |
examples : add --alias option to gpt_params to set use friendly model name (#1614)
Diffstat (limited to 'examples/common.h')
-rw-r--r-- | examples/common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/common.h b/examples/common.h index 2b66382a..fea9aa81 100644 --- a/examples/common.h +++ b/examples/common.h @@ -45,6 +45,7 @@ struct gpt_params { float mirostat_eta = 0.10f; // learning rate std::string model = "models/7B/ggml-model.bin"; // model path + std::string model_alias = "unknown"; // model alias std::string prompt = ""; std::string path_prompt_cache = ""; // path to file for saving/loading prompt eval state std::string input_prefix = ""; // string to prefix user inputs with |