llama : add session file format and saved sessions in main (#1169)
This commit is contained in:
parent
11d902364b
commit
1481a9cf25
6 changed files with 156 additions and 2 deletions
|
@ -31,6 +31,7 @@ struct gpt_params {
|
|||
|
||||
std::string model = "models/lamma-7B/ggml-model.bin"; // model path
|
||||
std::string prompt = "";
|
||||
std::string path_session = ""; // path to file for saving/loading model eval state
|
||||
std::string input_prefix = ""; // string to prefix user inputs with
|
||||
std::vector<std::string> antiprompt; // string upon seeing which more user input is prompted
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue