From c5e66a40a44d3170101236830737a22424846e46 Mon Sep 17 00:00:00 2001 From: MyungHa Kwon Date: Fri, 8 Sep 2023 03:54:52 +0900 Subject: [PATCH] Punctuation fix (#26025) fix typo --- src/transformers/trainer_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/transformers/trainer_utils.py b/src/transformers/trainer_utils.py index 967e135c04adee..3368ed31ddbd59 100644 --- a/src/transformers/trainer_utils.py +++ b/src/transformers/trainer_utils.py @@ -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