We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e6a6e7 commit 4c2cd79Copy full SHA for 4c2cd79
llama-cpp-2/src/token/data_array.rs
@@ -93,9 +93,9 @@ impl LlamaTokenDataArray {
93
///
94
/// * `ctx` - the context to use. May be `None` if you do not care to record the sample timings.
95
/// * `last_tokens` - the last tokens in the context.
96
- /// * `penalty_last_n` - the number of tokens to consider for the repetition penalty.
97
- /// * `penalty_repeat` - the repetition penalty.
98
- /// * `penalty_freq` - the frequency penalty.
+ /// * `penalty_last_n` - the number of tokens to consider for the repetition penalty. (1.0 for no penalty)
+ /// * `penalty_repeat` - the repetition penalty. (0.0 for no penalty)
+ /// * `penalty_freq` - the frequency penalty. (0.0 for no penalty)
99
100
/// # Example
101
0 commit comments