Skip to content

Commit f46c0c1

Browse files
authored
llama : fix copy/paste error in llama_sampling_params comment (#4994)
1 parent 5c99960 commit f46c0c1

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
@@ -17,7 +17,7 @@ typedef struct llama_sampling_params {
1717
float min_p = 0.05f; // 0.0 = disabled
1818
float tfs_z = 1.00f; // 1.0 = disabled
1919
float typical_p = 1.00f; // 1.0 = disabled
20-
float temp = 0.80f; // 1.0 = disabled
20+
float temp = 0.80f; // <= 0.0 to sample greedily, 0.0 to not output probabilities
2121
int32_t penalty_last_n = 64; // last n tokens to penalize (0 = disable penalty, -1 = context size)
2222
float penalty_repeat = 1.10f; // 1.0 = disabled
2323
float penalty_freq = 0.00f; // 0.0 = disabled

0 commit comments

Comments
 (0)