
"""simple docstring"""




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


A__   :					Dict							=   logging.get_logger(__name__)

A__   :					Dict							=   {
    'abeja/gpt-neox-japanese-2.7b': 'https://huggingface.co/abeja/gpt-neox-japanese-2.7b/resolve/main/config.json',
}


class 			__magic_name__       (       SCREAMING_SNAKE_CASE__ ):
       UpperCamelCase_   =		'''gpt_neox_japanese'''
       def __init__(     self ,				A_=3_2000 ,				A_=2560 ,				A_=32 ,				A_=32 ,				A_=4 ,				A_="gelu" ,				A_=1.00 ,				A_=1_0000 ,				A_=2048 ,				A_=0.02 ,				A_=1E-5 ,				A_=True ,				A_=3_1996 ,				A_=3_1999 ,				A_=0.1 ,				A_=0.0 ,				**A_ ,				)     ->	str:





         """simple docstring"""




         super().__init__(bos_token_id=A_ ,				eos_token_id=A_ ,				**A_       )
         _lowercase:			Optional[Any]       =     vocab_size
         _lowercase:			int       =     max_position_embeddings
         _lowercase:			Dict       =     hidden_size
         _lowercase:			Union[str, Any]       =     num_hidden_layers
         _lowercase:			Any       =     num_attention_heads
         _lowercase:			Union[str, Any]       =     intermediate_multiple_size
         _lowercase:			int       =     hidden_act
         _lowercase:			Optional[int]       =     rotary_pct
         _lowercase:			List[Any]       =     rotary_emb_base
         _lowercase:			List[Any]       =     initializer_range
         _lowercase:			List[Any]       =     layer_norm_eps
         _lowercase:			Optional[Any]       =     use_cache
         _lowercase:			List[Any]       =     attention_dropout
         _lowercase:			Dict       =     hidden_dropout


"""simple docstring"""




def  _lowerCAmelCase		(		_UpperCamelCase						):






  """simple docstring"""



  if num <= 0:
    raise ValueError('''Input must be a positive integer'''						)

  _lowercase:			Tuple       =     [True] * (num + 1)

  _lowercase:			List[str]       =     2
  while p * p <= num:
    if primes[p]:
      for i in range(p * p ,				num + 1 ,				_UpperCamelCase						):
        _lowercase:			List[str]       =     False
    p += 1

  return [prime for prime in range(2 ,				num + 1						) if primes[prime]]


if __name__ == "__main__":
  import doctest

  doctest.testmod()

  A__   :					List[Any]							=   int(input('Enter a positive integer: ').strip())
  print(prime_sieve_eratosthenes(user_num))
