File tree 1 file changed +3
-3
lines changed 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 2
2
3
3
cd " $( dirname " $0 " ) /.." || exit
4
4
5
- MODEL=" ./models/13B/ggml-model-q4_0.bin"
5
+ MODEL=" ${MODEL :- ./ models/ 13B/ ggml-model-q4_0.bin} "
6
6
USER_NAME=" ${USER_NAME:- User} "
7
7
AI_NAME=" ${AI_NAME:- ChatLLaMa} "
8
8
9
9
# Adjust to the number of CPU cores you want to use.
10
10
N_THREAD=" ${N_THREAD:- 8} "
11
11
# Number of tokens to predict (made it larger than default because we want a long interaction)
12
- N_PREDICTS=" ${N_PREDICTS:- 1024 } "
12
+ N_PREDICTS=" ${N_PREDICTS:- 2048 } "
13
13
14
14
# Note: you can also override the generation options by specifying them on the command line:
15
- # For example, override the context size by doing: ./chatLLaMa --ctx_size 2048
15
+ # For example, override the context size by doing: ./chatLLaMa --ctx_size 1024
16
16
GEN_OPTIONS=" ${GEN_OPTIONS:- --ctx_size 2048 --temp 0.7 --top_k 40 --top_p 0.5 --repeat_last_n 256 --repeat_penalty 1.17647} "
17
17
18
18
# shellcheck disable=SC2086 # Intended splitting of GEN_OPTIONS
You can’t perform that action at this time.
0 commit comments