

'''simple docstring'''





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


UpperCamelCase_							=					logging.get_logger(__name__)

UpperCamelCase_							=					{"""ctrl""": """https://huggingface.co/ctrl/resolve/main/config.json"""}





class 		__SCREAMING_SNAKE_CASE       ( lowercase__			):
				lowerCamelCase_							=						'ctrl'
				lowerCamelCase_							=						['past_key_values']
				lowerCamelCase_							=						{
				    'max_position_embeddings': 'n_positions',
				    'hidden_size': 'n_embd',
				    'num_attention_heads': 'n_head',
				    'num_hidden_layers': 'n_layer',
				}







				def __init__(					self    :		Dict		,				UpperCAmelCase__    :		int=246534		,				UpperCAmelCase__    :		Union[str, Any]=256		,				UpperCAmelCase__    :		Union[str, Any]=1280		,				UpperCAmelCase__    :		int=8192		,				UpperCAmelCase__    :		List[str]=48		,				UpperCAmelCase__    :		Any=16		,				UpperCAmelCase__    :		Any=0.1		,				UpperCAmelCase__    :		str=0.1		,				UpperCAmelCase__    :		int=1E-6		,				UpperCAmelCase__    :		Any=0.02		,				UpperCAmelCase__    :		Dict=True		,				**UpperCAmelCase__    :		Any		,				):
										'''simple docstring'''
										lowercase   :       Dict								=vocab_size
										lowercase   :       str								=n_positions
										lowercase   :       List[Any]								=n_embd
										lowercase   :       int								=n_layer
										lowercase   :       Union[str, Any]								=n_head
										lowercase   :       str								=dff
										lowercase   :       Union[str, Any]								=resid_pdrop
										lowercase   :       Optional[int]								=embd_pdrop
										lowercase   :       List[Any]								=layer_norm_epsilon
										lowercase   :       Tuple								=initializer_range

										lowercase   :       List[Any]								=use_cache

										super().__init__(**UpperCAmelCase__      )








'''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))





