






"""simple docstring"""



from functools import lru_cache




@lru_cache
def        _lowerCAmelCase						(							UpperCAmelCase__    :   int )						->int:
						if num < 0:
												raise ValueError("""Number should not be negative.""" )

						return 1 if num in (0, 1) else num * factorial(num - 1 )


if __name__ == "__main__":
						import doctest

						doctest.testmod()














"""simple docstring"""



import warnings

from ..trainer import Trainer
from ..utils import logging


A_      =							logging.get_logger(__name__)






class 							__SCREAMING_SNAKE_CASE  (			UpperCamelCase						):


							def __init__(     self :  Optional[int]     ,      snake_case :  List[str]=None     ,      **snake_case :  Any							):
													'''simple docstring'''





													warnings.warn(
													    """`SageMakerTrainer` is deprecated and will be removed in v5 of Transformers. You can use `Trainer` """
													    """instead."""     ,      snake_case     ,      )
													super().__init__(args=snake_case     ,      **snake_case							)






