Skip to content

Commit 7382f26

Browse files
committed
fix default temp
1 parent 1dd2968 commit 7382f26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/sampling.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ typedef struct llama_sampling_params {
1212
float top_p = 0.95f; // 1.0 = disabled
1313
float tfs_z = 1.00f; // 1.0 = disabled
1414
float typical_p = 1.00f; // 1.0 = disabled
15-
float temp = 0.80f; // 1.0 = disabled
15+
float temp = 0.20f; // 1.0 = disabled
1616
float repeat_penalty = 1.00f; // 1.0 = disabled
1717
int32_t repeat_last_n = 64; // last n tokens to penalize (0 = disable penalty, -1 = context size)
1818
float frequency_penalty = 0.00f; // 0.0 = disabled

0 commit comments

Comments
 (0)