File tree Expand file tree Collapse file tree 3 files changed +3
-10
lines changed Expand file tree Collapse file tree 3 files changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -59,8 +59,7 @@ params = llamacpp.gpt_params(
59
59
64 , # repeat_last_n
60
60
8 , # batch_size
61
61
False , # color
62
- False , # interactive or args.interactive_start
63
- False , # interactive_start
62
+ False , # interactive
64
63
)
65
64
model = llamacpp.PyLLAMA(params)
66
65
model.add_bos() # Adds "beginning of string" token
Original file line number Diff line number Diff line change @@ -111,8 +111,7 @@ def parse_chat_params(argv) -> llamacpp.gpt_params:
111
111
args .repeat_last_n ,
112
112
args .batch_size ,
113
113
args .color ,
114
- args .interactive or args .interactive_start ,
115
- args .interactive_start ,
114
+ args .interactive
116
115
)
117
116
118
117
return params
Original file line number Diff line number Diff line change @@ -100,8 +100,7 @@ def parse_args_into_params(argv) -> llamacpp.gpt_params:
100
100
args .repeat_last_n ,
101
101
args .batch_size ,
102
102
args .color ,
103
- args .interactive or args .interactive_start ,
104
- args .interactive_start ,
103
+ args .interactive ,
105
104
)
106
105
107
106
return params
@@ -141,10 +140,6 @@ def main(params):
141
140
print (" - If you want to submit another line, end your input in '\\ '." )
142
141
print ()
143
142
144
- # prompt user immediately after the starting prompt has been loaded
145
- if params .interactive_start :
146
- is_interacting = True
147
-
148
143
input_noecho = False
149
144
is_finished = False
150
145
You can’t perform that action at this time.
0 commit comments