mirror of
https://github.com/acon96/home-llm.git
synced 2026-01-10 06:07:58 -05:00
fix generation script
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -4,4 +4,5 @@ core/
|
||||
config/
|
||||
.DS_Store
|
||||
data/*.json
|
||||
*.pyc
|
||||
*.pyc
|
||||
main.log
|
||||
2
generate.sh
Normal file → Executable file
2
generate.sh
Normal file → Executable file
@@ -9,4 +9,4 @@ if [[ ! -d "./models/$MODEL_NAME" ]]; then
|
||||
fi
|
||||
|
||||
PROMPT=$(cat $PROMPT_SRC)
|
||||
$LLAMA_CPP/build/bin/main --model "./models/$MODEL_NAME/$MODEL_NAME.$QUANT_TYPE.gguf" --chatml --prompt "$PROMPT"
|
||||
$LLAMA_CPP/build/bin/main --model "./models/$MODEL_NAME/$MODEL_NAME.$QUANT_TYPE.gguf" --temp 0.1 --ctx-size 2048 --prompt "$PROMPT" # --chatml
|
||||
Reference in New Issue
Block a user