mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-31 10:12:23 +06:00
Fix typo (#11369)
This commit is contained in:
parent
2617396094
commit
0f3ad1507e
@ -700,7 +700,7 @@ class GenerationMixin:
|
||||
Whether to stop the beam search when at least ``num_beams`` sentences are finished per batch or not.
|
||||
num_beams (:obj:`int`, `optional`, defaults to 1):
|
||||
Number of beams for beam search. 1 means no beam search.
|
||||
temperature (:obj:`float`, `optional`, defaults tp 1.0):
|
||||
temperature (:obj:`float`, `optional`, defaults to 1.0):
|
||||
The value used to module the next token probabilities.
|
||||
top_k (:obj:`int`, `optional`, defaults to 50):
|
||||
The number of highest probability vocabulary tokens to keep for top-k-filtering.
|
||||
|
Loading…
Reference in New Issue
Block a user