File tree 1 file changed +1
-2
lines changed
1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -144,6 +144,7 @@ function! llama#init()
144
144
" autocmd CursorHoldI * call llama#fim(v:true, v:true)
145
145
endif
146
146
147
+ " gather chunks upon yanking
147
148
autocmd TextYankPost * if v: event .operator == # ' y' | call s: pick_chunk (v: event .regcontents, v: false , v: true ) | endif
148
149
149
150
" gather chunks upon entering/leaving a buffer
@@ -310,7 +311,6 @@ function! s:ring_update()
310
311
\ ' input_extra' : l: extra_context ,
311
312
\ ' prompt' : " " ,
312
313
\ ' n_predict' : 1 ,
313
- \ ' penalty_last_n' : 0 ,
314
314
\ ' temperature' : 0.0 ,
315
315
\ ' stream' : v: false ,
316
316
\ ' samplers' : [" temperature" ],
@@ -410,7 +410,6 @@ function! llama#fim(is_auto, on_hold) abort
410
410
\ ' prompt' : l: prompt ,
411
411
\ ' n_predict' : g: llama_config .n_predict,
412
412
\ ' n_indent' : l: indent ,
413
- \ ' penalty_last_n' : 0 ,
414
413
\ ' top_k' : 40 ,
415
414
\ ' top_p' : 0.99 ,
416
415
\ ' stream' : v: false ,
You can’t perform that action at this time.
0 commit comments