Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
laggui committed May 28, 2024
1 parent 7946acd commit 93f9ecc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llama-burn/src/llama.rs
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ impl<B: Backend, T: Tokenizer> Llama<B, T> {
/// - `sample_len`: The number of new tokens to generate (i.e., the number of generation steps to take).
/// - `temperature`: Temperature value for controlling randomness in sampling (scales logits by `1 / temperature`).
/// High values result in more random sampling.
/// - `sampler`: The sampling strategy to use when selecting the next token based on the predicted probabilies.
/// - `sampler`: The sampling strategy to use when selecting the next token based on the predicted probabilities.
///
/// # Returns
/// The generated text along with some other metadata (see [GenerationOutput]).
Expand Down

0 comments on commit 93f9ecc

Please sign in to comment.