diff options
author | Evan Jones <evan.q.jones@gmail.com> | 2023-04-28 11:59:37 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-28 18:59:37 +0300 |
commit | 1481a9cf25ea2e4abef6b13a57660a35f3e66af1 (patch) | |
tree | c2c81f8f38da358715796681811ab1faeae00229 /examples/common.h | |
parent | 11d902364b0e3b503a02a4e757ee2dc38aacb68f (diff) |
llama : add session file format and saved sessions in main (#1169)
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 6f26b51..9d3697d 100644 --- a/examples/common.h +++ b/examples/common.h @@ -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 |