

'''simple docstring'''





from ... import PretrainedConfig


UpperCamelCase_							=					{
    """sijunhe/nezha-cn-base""": """https://huggingface.co/sijunhe/nezha-cn-base/resolve/main/config.json""",
}





class 		__SCREAMING_SNAKE_CASE       ( lowercase__			):
				lowerCamelCase_							=						NEZHA_PRETRAINED_CONFIG_ARCHIVE_MAP
				lowerCamelCase_							=						'nezha'







				def __init__(					self    :		Any		,				UpperCAmelCase__    :		str=21128		,				UpperCAmelCase__    :		str=768		,				UpperCAmelCase__    :		Optional[Any]=12		,				UpperCAmelCase__    :		Optional[int]=12		,				UpperCAmelCase__    :		str=3072		,				UpperCAmelCase__    :		Tuple="gelu"		,				UpperCAmelCase__    :		Any=0.1		,				UpperCAmelCase__    :		List[str]=0.1		,				UpperCAmelCase__    :		Optional[int]=512		,				UpperCAmelCase__    :		int=64		,				UpperCAmelCase__    :		List[str]=2		,				UpperCAmelCase__    :		Optional[Any]=0.02		,				UpperCAmelCase__    :		Optional[int]=1E-12		,				UpperCAmelCase__    :		Any=0.1		,				UpperCAmelCase__    :		int=0		,				UpperCAmelCase__    :		List[str]=2		,				UpperCAmelCase__    :		Optional[Any]=3		,				UpperCAmelCase__    :		Union[str, Any]=True		,				**UpperCAmelCase__    :		List[Any]		,				):
										'''simple docstring'''
										super().__init__(pad_token_id=UpperCAmelCase__		,				bos_token_id=UpperCAmelCase__		,				eos_token_id=UpperCAmelCase__		,				**UpperCAmelCase__      )

										lowercase   :       str								=vocab_size
										lowercase   :       Optional[int]								=hidden_size
										lowercase   :       Union[str, Any]								=num_hidden_layers
										lowercase   :       str								=num_attention_heads
										lowercase   :       Optional[Any]								=hidden_act
										lowercase   :       str								=intermediate_size
										lowercase   :       int								=hidden_dropout_prob
										lowercase   :       Optional[Any]								=attention_probs_dropout_prob
										lowercase   :       Optional[int]								=max_position_embeddings
										lowercase   :       List[Any]								=max_relative_position
										lowercase   :       List[str]								=type_vocab_size
										lowercase   :       Optional[Any]								=initializer_range
										lowercase   :       Tuple								=layer_norm_eps
										lowercase   :       Optional[Any]								=classifier_dropout
										lowercase   :       Dict								=use_cache








'''simple docstring'''





def 							_lowerCAmelCase (      __magic_name__	:    int      ,   __magic_name__	:    Optional[Any]	)							->     str:
						lowercase   :       Optional[Any]								=[0 for i in range(r + 1	)]
						# nc0 = 1
						lowercase   :       Optional[Any]								=1
						for i in range(1      ,   n + 1	):
												# to compute current row from previous row.
												lowercase   :       str								=min(__magic_name__      ,   __magic_name__	)
												while j > 0:
																		c[j] += c[j - 1]
																		j -= 1
						return c[r]







print(binomial_coefficient(n=10, r=5))





