




"""simple docstring"""





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


A				=							logging.get_logger(__name__)

A				=							{
    """tanreinama/GPTSAN-2.8B-spout_is_uniform""": (
        """https://huggingface.co/tanreinama/GPTSAN-2.8B-spout_is_uniform/resolve/main/config.json"""
    ),
}



class   a__					(						__magic_name__ ):
			lowercase_		=						"gptsan-japanese"
			lowercase_		=						[
			    "past_key_values",
			]
			lowercase_		=						{
			    "hidden_size": "d_model",
			    "num_attention_heads": "num_heads",
			    "num_hidden_layers": "num_layers",
			}


			def __init__(   self   :     Any   ,	UpperCamelCase_   :     List[Any]=36000   ,	UpperCamelCase_   :     Optional[Any]=1280   ,	UpperCamelCase_   :     Optional[int]=1024   ,	UpperCamelCase_   :     Dict=8192   ,	UpperCamelCase_   :     Optional[int]=4096   ,	UpperCamelCase_   :     Union[str, Any]=128   ,	UpperCamelCase_   :     Dict=10   ,	UpperCamelCase_   :     Optional[Any]=0   ,	UpperCamelCase_   :     Union[str, Any]=16   ,	UpperCamelCase_   :     List[Any]=16   ,	UpperCamelCase_   :     List[str]=128   ,	UpperCamelCase_   :     List[str]=0.0   ,	UpperCamelCase_   :     str=1e-5   ,	UpperCamelCase_   :     Tuple=False   ,	UpperCamelCase_   :     Dict=0.0   ,	UpperCamelCase_   :     Tuple="float32"   ,	UpperCamelCase_   :     Optional[Any]=False   ,	UpperCamelCase_   :     Optional[Any]=False   ,	UpperCamelCase_   :     Optional[int]=False   ,	UpperCamelCase_   :     int=0.002   ,	UpperCamelCase_   :     List[str]=False   ,	UpperCamelCase_   :     Optional[int]=True   ,	UpperCamelCase_   :     List[Any]=35998   ,	UpperCamelCase_   :     str=35995   ,	UpperCamelCase_   :     Optional[int]=35999   ,	**UpperCamelCase_   :     Dict   ,	):


						"""simple docstring"""




						__UpperCAmelCase						:			Tuple												=       vocab_size
						__UpperCAmelCase						:			Union[str, Any]												=       max_position_embeddings
						__UpperCAmelCase						:			str												=       d_model
						__UpperCAmelCase						:			Optional[Any]												=       d_ff
						__UpperCAmelCase						:			Optional[Any]												=       d_ext
						__UpperCAmelCase						:			Any												=       d_spout
						__UpperCAmelCase						:			Dict												=       num_switch_layers
						__UpperCAmelCase						:			Any												=       num_ext_layers
						__UpperCAmelCase						:			List[str]												=       num_switch_layers + num_ext_layers
						__UpperCAmelCase						:			List[str]												=       num_heads
						__UpperCAmelCase						:			Optional[int]												=       num_experts
						__UpperCAmelCase						:			List[Any]												=       expert_capacity
						__UpperCAmelCase						:			List[str]												=       dropout_rate
						__UpperCAmelCase						:			Union[str, Any]												=       layer_norm_epsilon
						__UpperCAmelCase						:			List[Any]												=       router_bias
						__UpperCAmelCase						:			Tuple												=       router_jitter_noise
						__UpperCAmelCase						:			Any												=       router_dtype
						__UpperCAmelCase						:			List[str]												=       router_ignore_padding_tokens
						__UpperCAmelCase						:			int												=       output_hidden_states
						__UpperCAmelCase						:			Dict												=       output_attentions
						__UpperCAmelCase						:			List[Any]												=       initializer_factor
						__UpperCAmelCase						:			Dict												=       output_router_logits
						__UpperCAmelCase						:			Optional[int]												=       use_cache

						super().__init__(
						    separator_token_id=UpperCamelCase_   ,	pad_token_id=UpperCamelCase_   ,	eos_token_id=UpperCamelCase_   ,	**UpperCamelCase_   ,	)









'''simple docstring'''




from math import factorial



def 		__A		(  lowerCamelCase_			,			lowerCamelCase_	):


		"""simple docstring"""



		if n < k or k < 0:
				raise ValueError("""Please enter positive integers for n and k where n >= k"""	)
		return factorial(lowerCamelCase_	) // (factorial(lowerCamelCase_	) * factorial(n - k	))


if __name__ == "__main__":
							print(
							    """The number of five-card hands possible from a standard""",
							    f'''fifty-two card deck is: {combinations(52, 5)}\n''',
							)

							print(
							    """If a class of 40 students must be arranged into groups of""",
							    f'''4 for group projects, there are {combinations(40, 4)} ways''',
							    """to arrange them.\n""",
							)

							print(
							    """If 10 teams are competing in a Formula One race, there""",
							    f'''are {combinations(10, 3)} ways that first, second and''',
							    """third place can be awarded.""",
							)



