examples : add --alias option to gpt_params to set use friendly model name (#1614)
This commit is contained in:
parent
bb051d9723
commit
337aea1139
3 changed files with 21 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue