Skip to content

Commit 226d842

Browse files
author
Lorenzo Toniazzi
committed
Set temperature
1 parent 815f130 commit 226d842

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_lora_conversion_and_inference.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,16 @@ run_conversion_and_inference_lora() {
3939
# Run inference
4040
echo "Running llama-cli without lora for $model_name with size $size_matrix..."
4141
OUTPUT_BASE=$(llama-cli -m $MODELS_REPO/$model_name/size=$size_matrix/base/Base-F32.gguf \
42-
-p "Look again at that dot." -n 50 --seed 42)
42+
-p "Look again at that dot." -n 50 --seed 42 --temp 0)
4343

4444
echo "Running llama-cli with lora for $model_name with size $size_matrix..."
4545
OUTPUT_LORA_HOT=$(llama-cli -m $MODELS_REPO/$model_name/size=$size_matrix/base/Base-F32.gguf \
4646
--lora $MODELS_REPO/$model_name/size=$size_matrix/lora/Lora-F32-LoRA.gguf \
47-
-p "I see a little silhouetto" -n 50 --seed 42)
47+
-p "I see a little silhouetto" -n 50 --seed 42 --temp 0)
4848

4949
echo "Running llama-cli with exported lora for $model_name with size $size_matrix..."
5050
OUTPUT_LORA_MERGED=$(llama-cli -m $MODELS_REPO/$model_name/size=$size_matrix/base/Base-F32-lora-merged.gguf \
51-
-p "I see a little silhouetto" -n 50 --seed 42)
51+
-p "I see a little silhouetto" -n 50 --seed 42 --temp 0)
5252

5353
# Store the results in the regular array
5454
results+=("

0 commit comments

Comments
 (0)