





import logging

from transformers import PretrainedConfig


__UpperCamelCase:	List[Any] = logging.getLogger(__name__)


__UpperCamelCase:	Tuple = {
    """bertabs-finetuned-cnndm""": """https://huggingface.co/remi/bertabs-finetuned-cnndm-extractive-abstractive-summarization/resolve/main/config.json""",
}


class       __lowerCAmelCase					(       _UpperCamelCase      ):


	'''simple docstring'''





	_A													=				"bertabs"

	def __init__(						self:						Optional[int],					lowerCamelCase_:						Optional[int]=30522,					lowerCamelCase_:						int=512,					lowerCamelCase_:						Any=6,					lowerCamelCase_:						List[Any]=512,					lowerCamelCase_:						int=8,					lowerCamelCase_:						Optional[int]=512,					lowerCamelCase_:						Any=0.2,					lowerCamelCase_:						Union[str, Any]=6,					lowerCamelCase_:						List[Any]=768,					lowerCamelCase_:						Any=8,					lowerCamelCase_:						Optional[int]=2048,					lowerCamelCase_:						Tuple=0.2,					**lowerCamelCase_:						Any,					):
			super().__init__(**lowerCamelCase_			)

			lowercase__					:      Any      =		vocab_size
			lowercase__					:      int      =		max_pos

			lowercase__					:      int      =		enc_layers
			lowercase__					:      Union[str, Any]      =		enc_hidden_size
			lowercase__					:      Optional[Any]      =		enc_heads
			lowercase__					:      int      =		enc_ff_size
			lowercase__					:      Optional[Any]      =		enc_dropout

			lowercase__					:      Union[str, Any]      =		dec_layers
			lowercase__					:      List[str]      =		dec_hidden_size
			lowercase__					:      Any      =		dec_heads
			lowercase__					:      Optional[Any]      =		dec_ff_size
			lowercase__					:      Dict      =		dec_dropout









def       SCREAMING_SNAKE_CASE__  (       _lowercase     : int   ,    _lowercase     : int			)   ->							Optional[int]:




		'''simple docstring'''
		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       SCREAMING_SNAKE_CASE__  (       _lowercase     : int   ,    _lowercase     : int			)   ->							float:




		'''simple docstring'''
		if b < 0:
				return 1 / actual_power(_lowercase   ,    _lowercase			)
		return actual_power(_lowercase   ,    _lowercase			)


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


