Miku.sh: Set ctx_size to 4096
This commit is contained in:
parent
79479bd201
commit
187b7dd297
1 changed files with 2 additions and 1 deletions
|
@ -7,10 +7,11 @@ USER_NAME="${USER_NAME:-Anon}"
|
||||||
|
|
||||||
# Uncomment and adjust to the number of CPU cores you want to use.
|
# Uncomment and adjust to the number of CPU cores you want to use.
|
||||||
#N_THREAD="${N_THREAD:-4}"
|
#N_THREAD="${N_THREAD:-4}"
|
||||||
|
CTX_SIZE="${CTX_SIZE:-4096}"
|
||||||
N_PREDICTS="${N_PREDICTS:-4096}"
|
N_PREDICTS="${N_PREDICTS:-4096}"
|
||||||
|
|
||||||
GEN_OPTIONS=(--batch_size 1024
|
GEN_OPTIONS=(--batch_size 1024
|
||||||
--ctx_size 2048
|
--ctx_size "$CTX_SIZE"
|
||||||
--keep -1
|
--keep -1
|
||||||
--repeat_last_n 256
|
--repeat_last_n 256
|
||||||
--repeat_penalty 1.17647
|
--repeat_penalty 1.17647
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue