



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


UpperCAmelCase							 =					logging.get_logger(__name__)

UpperCAmelCase							 =					{
    """studio-ousia/luke-base""": """https://huggingface.co/studio-ousia/luke-base/resolve/main/config.json""",
    """studio-ousia/luke-large""": """https://huggingface.co/studio-ousia/luke-large/resolve/main/config.json""",
}

class  __snake_case      (   SCREAMING_SNAKE_CASE):







							'''simple docstring'''






							UpperCamelCase__				:      Tuple         =					"""luke"""


							def __init__(							self  ,  a_=50_267  ,  a_=500_000  ,  a_=768  ,  a_=256  ,  a_=12  ,  a_=12  ,  a_=3_072  ,  a_="gelu"  ,  a_=0.1  ,  a_=0.1  ,  a_=512  ,  a_=2  ,  a_=0.02  ,  a_=1E-1_2  ,  a_=True  ,  a_=None  ,  a_=1  ,  a_=0  ,  a_=2  ,  **a_  ,  ):
											super().__init__(pad_token_id=a_  ,  bos_token_id=a_  ,  eos_token_id=a_  ,  **a_		)

											a__				      =		vocab_size
											a__				      =		entity_vocab_size
											a__				      =		hidden_size
											a__				      =		entity_emb_size
											a__				      =		num_hidden_layers
											a__				      =		num_attention_heads
											a__				      =		hidden_act
											a__				      =		intermediate_size
											a__				      =		hidden_dropout_prob
											a__				      =		attention_probs_dropout_prob
											a__				      =		max_position_embeddings
											a__				      =		type_vocab_size
											a__				      =		initializer_range
											a__				      =		layer_norm_eps
											a__				      =		use_entity_aware_attention
											a__				      =		classifier_dropout






def 			A_      (	__a     :				int ,		__a     :				int		):

				"""simple docstring"""
				return abs(__a		) if a == 0 else greatest_common_divisor(b % a ,		__a		)

def 			A_      (	__a     :				int ,		__a     :				int		):

				"""simple docstring"""
				while y:  # --> when y=0 then loop will terminate and return x as final GCD.
								a__      ,			a__				      =		y, x % y
				return abs(__a		)

def 			A_      (	):

				"""simple docstring"""
				try:
								a__				      =		input("""Enter two integers separated by comma (,): """		).split(""","""		)
								a__				      =		int(nums[0]		)
								a__				      =		int(nums[1]		)
								print(
								    F'''greatest_common_divisor({num_a}, {num_a}) = '''
								    F'''{greatest_common_divisor(__a ,		__a		)}'''		)
								print(F'''By iterative gcd({num_a}, {num_a}) = {gcd_by_iterative(__a ,		__a		)}'''		)
				except (IndexError, UnboundLocalError, ValueError):
								print("""Wrong input"""		)


if __name__ == "__main__":
	main()

