examples : add --alias option to gpt_params to set use friendly model name (#1614)

This commit is contained in:
Vladimir Zorin 2023-05-28 20:14:24 +03:00 committed by GitHub
parent bb051d9723
commit 337aea1139
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 21 additions and 2 deletions

View file

@ -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