


from __future__ import annotations

from typing import Dict

from ...configuration_utils import PretrainedConfig


snake_case							: List[Any]      =   {
    '''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_     (lowerCamelCase_   ):
					UpperCAmelCase__      :					Tuple					   =    '''ernie_m'''
					UpperCAmelCase__      :					Dict[str, str]					   =    {"dropout": "classifier_dropout", "num_classes": "num_labels"}
					def __init__(   self     :int    ,__snake_case     :int = 25_00_02    ,__snake_case     :int = 7_68    ,__snake_case     :int = 12    ,__snake_case     :int = 12    ,__snake_case     :int = 30_72    ,__snake_case     :str = "gelu"    ,__snake_case     :float = 0.1    ,__snake_case     :float = 0.1    ,__snake_case     :int = 5_14    ,__snake_case     :float = 0.02    ,__snake_case     :int = 1    ,__snake_case     :float = 1E-05    ,__snake_case     :str=None    ,__snake_case     :Optional[Any]=False    ,__snake_case     :Optional[Any]=0.0    ,**__snake_case     :str    ,)      ->					Dict:
												super().__init__(pad_token_id=__snake_case    ,**__snake_case   )
												a__    =  vocab_size
												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__    =  max_position_embeddings
												a__    =  initializer_range
												a__    =  layer_norm_eps
												a__    =  classifier_dropout
												a__    =  is_decoder
												a__    =  act_dropout








from math import sqrt






def 							__lowercase     (				__lowerCAmelCase							:       int     ):

							if 1 < number < 4:
														# 2 and 3 are primes
														return True
							elif number < 2 or number % 2 == 0 or number % 3 == 0:
														# Negatives, 0, 1, all even numbers, all multiples of 3 are not primes
														return False

							# All primes number are in format of 6k +/- 1
							for i in range(5      ,					int(sqrt(__lowerCAmelCase     ) + 1     )      ,					6     ):
														if number % i == 0 or number % (i + 2) == 0:
																					return False
							return True






def 							__lowercase     (				__lowerCAmelCase							:       int = 1_0_0_0_1     ):
							a__    =  0
							a__    =  1
							while count != nth and number < 3:
														number += 1
														if is_prime(__lowerCAmelCase     ):
																					count += 1
							while count != nth:
														number += 2
														if is_prime(__lowerCAmelCase     ):
																					count += 1
							return number


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




