

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


lowerCAmelCase__	:  Tuple 		=logging.get_logger(__name__)

lowerCAmelCase__	:  int 		={
    '''tau/splinter-base''': '''https://huggingface.co/tau/splinter-base/resolve/main/config.json''',
    '''tau/splinter-base-qass''': '''https://huggingface.co/tau/splinter-base-qass/resolve/main/config.json''',
    '''tau/splinter-large''': '''https://huggingface.co/tau/splinter-large/resolve/main/config.json''',
    '''tau/splinter-large-qass''': '''https://huggingface.co/tau/splinter-large-qass/resolve/main/config.json''',
    # See all Splinter models at https://huggingface.co/models?filter=splinter
}

class      UpperCAmelCase_						(     UpperCamelCase_ ):

						'''simple docstring'''




						UpperCamelCase__    :				int       						=						'''splinter'''






						def __init__(					self   ,							_A=30_522   ,							_A=768   ,							_A=12   ,							_A=12   ,							_A=3_072   ,							_A="gelu"   ,							_A=0.1   ,							_A=0.1   ,							_A=512   ,							_A=2   ,							_A=0.0_2   ,							_A=1e-12   ,							_A=True   ,							_A=0   ,							_A=104   ,							**_A   ,							):







													'''simple docstring'''

													super().__init__(pad_token_id=_A   ,							**_A	)

													__SCREAMING_SNAKE_CASE								=      vocab_size
													__SCREAMING_SNAKE_CASE								=      max_position_embeddings
													__SCREAMING_SNAKE_CASE								=      hidden_size
													__SCREAMING_SNAKE_CASE								=      num_hidden_layers
													__SCREAMING_SNAKE_CASE								=      num_attention_heads
													__SCREAMING_SNAKE_CASE								=      intermediate_size
													__SCREAMING_SNAKE_CASE								=      hidden_act
													__SCREAMING_SNAKE_CASE								=      hidden_dropout_prob
													__SCREAMING_SNAKE_CASE								=      attention_probs_dropout_prob
													__SCREAMING_SNAKE_CASE								=      initializer_range
													__SCREAMING_SNAKE_CASE								=      type_vocab_size
													__SCREAMING_SNAKE_CASE								=      layer_norm_eps
													__SCREAMING_SNAKE_CASE								=      use_cache
													__SCREAMING_SNAKE_CASE								=      question_token_id











def 			__lowercase     (				a__							,     a__     )       ->				List[str]:
							if n == 0:
														return 1

							elif n % 2 == 1:
														return binary_exponentiation(a__							,     n - 1     ) * a

							else:
														__SCREAMING_SNAKE_CASE								=      binary_exponentiation(a__							,     n / 2     )
														return b * b


if __name__ == "__main__":
			try:
						lowerCAmelCase__	:  str 		=int(input('''Enter Base : ''').strip())
						lowerCAmelCase__	:  Optional[int] 		=int(input('''Enter Power : ''').strip())
			except ValueError:
						print('''Invalid literal for integer''')

			lowerCAmelCase__	:  Any 		=binary_exponentiation(BASE, POWER)
			print(F'''{BASE}^({POWER}) : {RESULT}''')






