

from __future__ import annotations

from typing import Dict

from ...configuration_utils import PretrainedConfig


lowerCAmelCase_       	=	{
    '''susnato/ernie-m-base_pytorch''': '''https://huggingface.co/susnato/ernie-m-base_pytorch/blob/main/config.json''',
    '''susnato/ernie-m-large_pytorch''': '''https://huggingface.co/susnato/ernie-m-large_pytorch/blob/main/config.json''',
}





class 	snake_case_   (		__A					):







			'''simple docstring'''

			SCREAMING_SNAKE_CASE     :   Dict									=				"ernie_m"
			SCREAMING_SNAKE_CASE     :   Dict[str, str]									=				{"dropout": "classifier_dropout", "num_classes": "num_labels"}







			def __init__(     self :				List[str]							,   _UpperCamelCase :				int = 2_5_0_0_0_2							,   _UpperCamelCase :				int = 7_6_8							,   _UpperCamelCase :				int = 1_2							,   _UpperCamelCase :				int = 1_2							,   _UpperCamelCase :				int = 3_0_7_2							,   _UpperCamelCase :				str = "gelu"							,   _UpperCamelCase :				float = 0.1							,   _UpperCamelCase :				float = 0.1							,   _UpperCamelCase :				int = 5_1_4							,   _UpperCamelCase :				float = 0.02							,   _UpperCamelCase :				int = 1							,   _UpperCamelCase :				float = 1e-05							,   _UpperCamelCase :				List[str]=None							,   _UpperCamelCase :				Union[str, Any]=False							,   _UpperCamelCase :				Optional[int]=0.0							,   **_UpperCamelCase :				Optional[Any]							,   )      ->Union[str, Any]:
									super().__init__(pad_token_id=_UpperCamelCase							,   **_UpperCamelCase							)
									snake_case_   =	vocab_size
									snake_case_   =	hidden_size
									snake_case_   =	num_hidden_layers
									snake_case_   =	num_attention_heads
									snake_case_   =	intermediate_size
									snake_case_   =	hidden_act
									snake_case_   =	hidden_dropout_prob
									snake_case_   =	attention_probs_dropout_prob
									snake_case_   =	max_position_embeddings
									snake_case_   =	initializer_range
									snake_case_   =	layer_norm_eps
									snake_case_   =	classifier_dropout
									snake_case_   =	is_decoder
									snake_case_   =	act_dropout


import math


def   __SCREAMING_SNAKE_CASE					(SCREAMING_SNAKE_CASE__  ,		SCREAMING_SNAKE_CASE__       ):
						if 0 not in (x, y):
												# We use the relation x^y = y*log10(x), where 10 is the base.
												return y * math.logaa(SCREAMING_SNAKE_CASE__       )
						else:
												if x == 0:  # 0 raised to any number is 0
																		return 0
												elif y == 0:
																		return 1  # any number raised to 0 is 1
						raise AssertionError('''This should never happen'''       )


if __name__ == "__main__":  # Main function
					# Read two numbers from input and typecast them to int using map function.
					# Here x is the base and y is the power.
					lowerCAmelCase_       	=	'''Enter the base and the power separated by a comma: '''
					lowerCAmelCase_	,      lowerCAmelCase_       	=	map(int, input(prompt).split(''','''))
					lowerCAmelCase_	,      lowerCAmelCase_       	=	map(int, input(prompt).split(''','''))

					# We find the log of each number, using the function res(), which takes two
					# arguments.
					lowerCAmelCase_       	=	res(xa, ya)
					lowerCAmelCase_       	=	res(xa, ya)

					# We check for the largest number
					if resa > resa:
										print('''Largest number is''', xa, '''^''', ya)
					elif resa > resa:
										print('''Largest number is''', xa, '''^''', ya)
					else:
										print('''Both are equal''')