Skip to content

Commit

Permalink
Punctuation fix (huggingface#26025)
Browse files Browse the repository at this point in the history
fix typo
  • Loading branch information
kwonmha authored Sep 7, 2023
1 parent 00efd64 commit c5e66a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transformers/trainer_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,7 @@ def find_executable_batch_size(
"""
Args:
A basic decorator that will try to execute `function`. If it fails from exceptions related to out-of-memory or
CUDNN, the batch size is cut in half and passed to `function` `function` must take in a `batch_size` parameter as
CUDNN, the batch size is cut in half and passed to `function`. `function` must take in a `batch_size` parameter as
its first argument.
function (`callable`, *optional*)
A function to wrap
Expand Down

0 comments on commit c5e66a4

Please sign in to comment.