Skip to content

Commit 93278f8

Browse files
author
Don Mahurin
committed
low_level_api_chat_cpp.py: fix default path_prefix arg value to match class default value
1 parent e5dad2a commit 93278f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/common.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def gpt_params_parse(argv = None):
108108
parser.add_argument("-m", "--model", type=str, default="./models/llama-7B/ggml-model.bin", help="model path",dest="model")
109109
parser.add_argument("-p", "--prompt", type=str, default="", help="initial prompt",dest="prompt")
110110
parser.add_argument("-f", "--file", type=str, default=None, help="file containing initial prompt to load",dest="file")
111-
parser.add_argument("--session", type=str, default=None, help="file to cache model state in (may be large!)",dest="path_session")
111+
parser.add_argument("--session", type=str, default="", help="file to cache model state in (may be large!)",dest="path_session")
112112
parser.add_argument("--in-prefix", type=str, default="", help="string to prefix user inputs with", dest="input_prefix")
113113
parser.add_argument("--in-suffix", type=str, default="", help="append to input", dest="input_suffix")
114114
parser.add_argument(

0 commit comments

Comments
 (0)