



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


_lowercase				:					str     					=logging.get_logger(__name__)

_lowercase				:					List[Any]     					={
    """uw-madison/nystromformer-512""": """https://huggingface.co/uw-madison/nystromformer-512/resolve/main/config.json""",
    # See all Nystromformer models at https://huggingface.co/models?filter=nystromformer
}
class lowerCAmelCase_       (   A_			):







	'''simple docstring'''




	A_       :     Union[str, Any]									=		'nystromformer'

	def __init__(	self   ,       lowerCamelCase=3_0000   ,       lowerCamelCase=768   ,       lowerCamelCase=12   ,       lowerCamelCase=12   ,       lowerCamelCase=3072   ,       lowerCamelCase="gelu_new"   ,       lowerCamelCase=0.1   ,       lowerCamelCase=0.1   ,       lowerCamelCase=510   ,       lowerCamelCase=2   ,       lowerCamelCase=64   ,       lowerCamelCase=64   ,       lowerCamelCase=65   ,       lowerCamelCase=False   ,       lowerCamelCase=0.0_2   ,       lowerCamelCase=1e-5   ,       lowerCamelCase=1   ,       lowerCamelCase=0   ,       lowerCamelCase=2   ,       **lowerCamelCase   ,       ):



				'''simple docstring'''


				a__					=  vocab_size
				a__					=  max_position_embeddings
				a__					=  hidden_size
				a__					=  num_hidden_layers
				a__					=  num_attention_heads
				a__					=  intermediate_size
				a__					=  hidden_act
				a__					=  hidden_dropout_prob
				a__					=  attention_probs_dropout_prob
				a__					=  initializer_range
				a__					=  type_vocab_size
				a__					=  segment_means_seq_len
				a__					=  num_landmarks
				a__					=  conv_kernel_size
				a__					=  inv_coeff_init_option
				a__					=  layer_norm_eps
				super().__init__(pad_token_id=lowerCamelCase   ,       bos_token_id=lowerCamelCase   ,       eos_token_id=lowerCamelCase   ,       **lowerCamelCase       )






def    UpperCAmelCase					(  lowercase__						:					int = 998001	):



			'''simple docstring'''





			for number in range(n - 1				,					9999				,					-1	):
						a__					=  str(lowercase__	)

						# checks whether 'str_number' is a palindrome.
						if str_number == str_number[::-1]:
									a__					=  999

									# if 'number' is a product of two 3-digit numbers
									# then number is the answer otherwise fetch next number.
									while divisor != 99:
												if (number % divisor == 0) and (len(str(number // divisor	)	) == 3.0):
															return number
												divisor -= 1
			raise ValueError("""That number is larger than our acceptable range."""	)


if __name__ == "__main__":
	print(f'''{solution() = }''')

