"""simple docstring"""




from ...configuration_utils import PretrainedConfig
from ...utils import logging


lowerCAmelCase__					:       Any		=       logging.get_logger(__name__)

lowerCAmelCase__					:       List[Any]		=       {
    '''microsoft/mpnet-base''': '''https://huggingface.co/microsoft/mpnet-base/resolve/main/config.json''',
}





class 			__snake_case  (      _lowerCamelCase     ):
					__lowerCamelCase	 =       """mpnet"""




					def __init__(       self   ,	__UpperCamelCase=30527   ,	__UpperCamelCase=768   ,	__UpperCamelCase=12   ,	__UpperCamelCase=12   ,	__UpperCamelCase=3072   ,	__UpperCamelCase="gelu"   ,	__UpperCamelCase=0.1   ,	__UpperCamelCase=0.1   ,	__UpperCamelCase=512   ,	__UpperCamelCase=0.0_2   ,	__UpperCamelCase=1E-12   ,	__UpperCamelCase=32   ,	__UpperCamelCase=1   ,	__UpperCamelCase=0   ,	__UpperCamelCase=2   ,	**__UpperCamelCase   ,	)					->  Any:



									'''simple docstring'''







									super().__init__(pad_token_id=__UpperCamelCase   ,	bos_token_id=__UpperCamelCase   ,	eos_token_id=__UpperCamelCase   ,	**__UpperCamelCase		)

									snake_case__ :     Optional[Any] 							=				vocab_size
									snake_case__ :     str 							=				hidden_size
									snake_case__ :     Dict 							=				num_hidden_layers
									snake_case__ :     List[Any] 							=				num_attention_heads
									snake_case__ :     Optional[Any] 							=				hidden_act
									snake_case__ :     Dict 							=				intermediate_size
									snake_case__ :     Tuple 							=				hidden_dropout_prob
									snake_case__ :     int 							=				attention_probs_dropout_prob
									snake_case__ :     Union[str, Any] 							=				max_position_embeddings
									snake_case__ :     Optional[Any] 							=				initializer_range
									snake_case__ :     Tuple 							=				layer_norm_eps
									snake_case__ :     List[Any] 							=				relative_attention_num_buckets



def 			UpperCamelCase__						(    A__   )       -> int:
				if number != int(A__   ):
								raise ValueError('factorial() only accepts integral values'   )
				if number < 0:
								raise ValueError('factorial() not defined for negative values'   )
				snake_case__ :     Optional[Any] 							=				1
				for i in range(1      ,			number + 1   ):
								value *= i
				return value
def 			UpperCamelCase__						(    A__   )       -> int:
				if not isinstance(A__      ,			A__   ):
								raise ValueError('factorial() only accepts integral values'   )
				if n < 0:
								raise ValueError('factorial() not defined for negative values'   )
				return 1 if n == 0 or n == 1 else n * factorial(n - 1   )


if __name__ == "__main__":
				import doctest

				doctest.testmod()

				lowerCAmelCase__					:       Any		=       int(input('''Enter a positive integer: ''').strip() or 0)
				print(F'''factorial{n} is {factorial(n)}''')


