From 337aea11390221bc925e4acb1f603f1649af2735 Mon Sep 17 00:00:00 2001 From: Vladimir Zorin Date: Sun, 28 May 2023 20:14:24 +0300 Subject: examples : add --alias option to gpt_params to set use friendly model name (#1614) --- examples/common.h | 1 + 1 file changed, 1 insertion(+) (limited to 'examples/common.h') 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 -- cgit v1.2.3