Skip to content

Commit

Permalink
Fix typo (huggingface#11369)
Browse files Browse the repository at this point in the history
  • Loading branch information
penut85420 authored Apr 22, 2021
1 parent 2617396 commit 0f3ad15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transformers/generation_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,7 @@ def generate(
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.
Expand Down

0 comments on commit 0f3ad15

Please sign in to comment.