


import logging

from transformers import PretrainedConfig


UpperCAmelCase__   	=							logging.getLogger(__name__)


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







class       lowerCamelCase__   (       lowerCAmelCase):
     SCREAMING_SNAKE_CASE__      			=			'''bertabs'''





     def __init__(self		,     UpperCAmelCase=3_0_5_2_2		,     UpperCAmelCase=5_1_2		,     UpperCAmelCase=6		,     UpperCAmelCase=5_1_2		,     UpperCAmelCase=8		,     UpperCAmelCase=5_1_2		,     UpperCAmelCase=0.2		,     UpperCAmelCase=6		,     UpperCAmelCase=7_6_8		,     UpperCAmelCase=8		,     UpperCAmelCase=2_0_4_8		,     UpperCAmelCase=0.2		,     **UpperCAmelCase		,     )     ->   str:
      super().__init__(**UpperCAmelCase       )

      _lowercase							      =vocab_size
      _lowercase							      =max_pos

      _lowercase							      =enc_layers
      _lowercase							      =enc_hidden_size
      _lowercase							      =enc_heads
      _lowercase							      =enc_ff_size
      _lowercase							      =enc_dropout

      _lowercase							      =dec_layers
      _lowercase							      =dec_hidden_size
      _lowercase							      =dec_heads
      _lowercase							      =dec_ff_size
      _lowercase							      =dec_dropout





def 				UpperCAmelCase_					(							__snake_case     ,						__snake_case						)     ->			List[Any]:







 """simple docstring"""


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







 """simple docstring"""


 if b < 0:
  return 1 / actual_power(__snake_case     ,						__snake_case						)
 return actual_power(__snake_case     ,						__snake_case						)


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

