finetune.sh: Add an optional LLAMA_MODEL_DIR variable
This commit is contained in:
parent
81dabd8edd
commit
6359c15174
1 changed files with 4 additions and 2 deletions
|
@ -4,8 +4,10 @@ cd ../..
|
||||||
|
|
||||||
EXE="./finetune"
|
EXE="./finetune"
|
||||||
|
|
||||||
# MODEL="c:/models/openllama-3b-v2-q8_0.gguf" # This is the model the readme uses.
|
if [[ ! $LLAMA_MODEL_DIR ]]; then LLAMA_MODEL_DIR="./models"; fi
|
||||||
MODEL="c:/models/openllama-3b-v2.gguf" # An f16 model. Note in this case with "-g", you get an f32-format .BIN file that isn't yet supported if you use it with "main --lora" with GPU inferencing.
|
|
||||||
|
# MODEL="$LLAMA_MODEL_DIR/openllama-3b-v2-q8_0.gguf" # This is the model the readme uses.
|
||||||
|
MODEL="$LLAMA_MODEL_DIR/openllama-3b-v2.gguf" # An f16 model. Note in this case with "-g", you get an f32-format .BIN file that isn't yet supported if you use it with "main --lora" with GPU inferencing.
|
||||||
|
|
||||||
while getopts "dg" opt; do
|
while getopts "dg" opt; do
|
||||||
case $opt in
|
case $opt in
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue