

"""simple docstring"""







from ... import PretrainedConfig


__SCREAMING_SNAKE_CASE								={
    "sijunhe/nezha-cn-base": "https://huggingface.co/sijunhe/nezha-cn-base/resolve/main/config.json",
}







class  UpperCamelCase	(    lowercase_						):
   lowercase							=						NEZHA_PRETRAINED_CONFIG_ARCHIVE_MAP
   lowercase							=						'nezha'
   def __init__(    self  ,__UpperCamelCase=2_1128  ,__UpperCamelCase=768  ,__UpperCamelCase=12  ,__UpperCamelCase=12  ,__UpperCamelCase=3072  ,__UpperCamelCase="gelu"  ,__UpperCamelCase=0.1  ,__UpperCamelCase=0.1  ,__UpperCamelCase=512  ,__UpperCamelCase=64  ,__UpperCamelCase=2  ,__UpperCamelCase=0.02  ,__UpperCamelCase=1e-12  ,__UpperCamelCase=0.1  ,__UpperCamelCase=0  ,__UpperCamelCase=2  ,__UpperCamelCase=3  ,__UpperCamelCase=True  ,**__UpperCamelCase  ,)			->   str:


        '''simple docstring'''


        super().__init__(pad_token_id=__UpperCamelCase  ,bos_token_id=__UpperCamelCase  ,eos_token_id=__UpperCamelCase  ,**__UpperCamelCase    )

        lowercase_			:       Union[str, Any]									=			vocab_size
        lowercase_			:       Tuple									=			hidden_size
        lowercase_			:       List[str]									=			num_hidden_layers
        lowercase_			:       List[Any]									=			num_attention_heads
        lowercase_			:       Optional[Any]									=			hidden_act
        lowercase_			:       Dict									=			intermediate_size
        lowercase_			:       Union[str, Any]									=			hidden_dropout_prob
        lowercase_			:       Tuple									=			attention_probs_dropout_prob
        lowercase_			:       Tuple									=			max_position_embeddings
        lowercase_			:       Any									=			max_relative_position
        lowercase_			:       int									=			type_vocab_size
        lowercase_			:       Optional[int]									=			initializer_range
        lowercase_			:       Union[str, Any]									=			layer_norm_eps
        lowercase_			:       Dict									=			classifier_dropout
        lowercase_			:       Optional[int]									=			use_cache


"""simple docstring"""







from math import sqrt



def     lowercase__( __SCREAMING_SNAKE_CASE							:  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(__SCREAMING_SNAKE_CASE   ) + 1   )  ,    6   ):
          if number % i == 0 or number % (i + 2) == 0:
               return False
     return True



def     lowercase__( __SCREAMING_SNAKE_CASE							:  int = 1_00_01   ):
     lowercase_			:       str									=			0
     lowercase_			:       Optional[Any]									=			1
     while count != nth and number < 3:
          number += 1
          if is_prime(__SCREAMING_SNAKE_CASE   ):
               count += 1
     while count != nth:
          number += 2
          if is_prime(__SCREAMING_SNAKE_CASE   ):
               count += 1
     return number


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

