

import unittest
from timeit import timeit

def 	lowerCamelCase__	(   _a							,     _a):
	SCREAMING_SNAKE_CASE				: List[Any]			       =    first_num if first_num >= second_num else second_num
	SCREAMING_SNAKE_CASE				: Union[str, Any]			       =    max_num
	while (common_mult % first_num > 0) or (common_mult % second_num > 0):
		common_mult += max_num
	return common_mult

def 	lowerCamelCase__	(   _a							,     _a):
	return b if a == 0 else greatest_common_divisor(b % a							,     _a)

def 	lowerCamelCase__	(   _a							,     _a):
	return first_num // greatest_common_divisor(_a							,     _a) * second_num

def 	lowerCamelCase__	(   ):
	SCREAMING_SNAKE_CASE				: List[str]			       =    (
	    "from __main__ import least_common_multiple_slow, least_common_multiple_fast"
	)
	print(
	    "least_common_multiple_slow():"							,     timeit("least_common_multiple_slow(1000, 999)"							,     setup=_a)							,     )
	print(
	    "least_common_multiple_fast():"							,     timeit("least_common_multiple_fast(1000, 999)"							,     setup=_a)							,     )






class _UpperCamelCase							(							unittest.TestCase				):
			'''simple docstring'''







			lowerCamelCase__          =(
			    (10, 20),
			    (13, 15),
			    (4, 31),
			    (10, 42),
			    (43, 34),
			    (5, 12),
			    (12, 25),
			    (10, 25),
			    (6, 9),
			)
			lowerCamelCase__          =(20, 195, 124, 210, 1462, 60, 300, 50, 18)
			def 							__UpperCamelCase	(     self							:	Optional[Any]		)							->    Union[str, Any]:

				"""simple docstring"""

				for i, (first_num, second_num) in enumerate(self.test_inputs		):
					SCREAMING_SNAKE_CASE				: Optional[int]			       =    least_common_multiple_slow(SCREAMING_SNAKE_CASE_ , SCREAMING_SNAKE_CASE_		)
					SCREAMING_SNAKE_CASE				: Optional[int]			       =    least_common_multiple_fast(SCREAMING_SNAKE_CASE_ , SCREAMING_SNAKE_CASE_		)
					with self.subTest(i=SCREAMING_SNAKE_CASE_		):
						self.assertEqual(SCREAMING_SNAKE_CASE_ , self.expected_results[i]		)
						self.assertEqual(SCREAMING_SNAKE_CASE_ , self.expected_results[i]		)


if __name__ == "__main__":
			benchmark()
			unittest.main()


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


a_         =      logging.get_logger(__name__)

a_         =      {
    'microsoft/mpnet-base': 'https://huggingface.co/microsoft/mpnet-base/resolve/main/config.json',
}






class _UpperCamelCase							(							__A				):
			'''simple docstring'''







			lowerCamelCase__          ='mpnet'
			def __init__(     self							:	Optional[int] , a							:	Dict=3_0527 , a							:	Optional[int]=768 , a							:	List[str]=12 , a							:	List[str]=12 , a							:	str=3072 , a							:	Optional[int]="gelu" , a							:	Tuple=0.1 , a							:	Optional[int]=0.1 , a							:	Optional[Any]=512 , a							:	List[Any]=0.02 , a							:	str=1e-12 , a							:	Optional[Any]=32 , a							:	int=1 , a							:	Union[str, Any]=0 , a							:	List[str]=2 , **a							:	Optional[int] , )							->    Union[str, Any]:

				"""simple docstring"""

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

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