



'''simple docstring'''




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


a   :			Tuple					  =    logging.get_logger(__name__)

a   :			Optional[int]					  =    {
    # See all MEGATRON_BERT models at https://huggingface.co/models?filter=bert
}

class 			UpperCamelCase_ (							__magic_name__			):
	lowercase          = 'megatron-bert'





	def __init__(  self		,		A=29056		,		A=1024		,		A=24		,		A=16		,		A=4096		,		A="gelu"		,		A=0.1		,		A=0.1		,		A=512		,		A=2		,		A=0.0_2		,		A=1e-12		,		A=0		,		A="absolute"		,		A=True		,		**A		,		)			->			Optional[int]:
								super().__init__(pad_token_id=A		,		**A    )

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






'''simple docstring'''




def       __lowerCamelCase  (					_lowercase	,				_lowercase		)      ->			int:
							if b == 0:
														return 1
							if (b % 2) == 0:
														return actual_power(_lowercase	,				int(b / 2		)		) * actual_power(_lowercase	,				int(b / 2		)		)
							else:
														return a * actual_power(_lowercase	,				int(b / 2		)		) * actual_power(_lowercase	,				int(b / 2		)		)



def       __lowerCamelCase  (					_lowercase	,				_lowercase		)      ->			float:
							if b < 0:
														return 1 / actual_power(_lowercase	,				_lowercase		)
							return actual_power(_lowercase	,				_lowercase		)


if __name__ == "__main__":
							print(power(-2, -3))

