


'''simple docstring'''






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


lowercase				=logging.get_logger(__name__)

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






class    __magic_name__				(						lowerCAmelCase							):
       UpperCAmelCase		 ="gpt_neox_japanese"






       def __init__(     self    ,				snake_case=3_2_0_0_0    ,				snake_case=2_5_6_0    ,				snake_case=3_2    ,				snake_case=3_2    ,				snake_case=4    ,				snake_case="gelu"    ,				snake_case=1.00    ,				snake_case=1_0_0_0_0    ,				snake_case=2_0_4_8    ,				snake_case=0.02    ,				snake_case=1E-5    ,				snake_case=True    ,				snake_case=3_1_9_9_6    ,				snake_case=3_1_9_9_9    ,				snake_case=0.1    ,				snake_case=0.0    ,				**snake_case    ,				)		->    Union[str, Any]:




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





'''simple docstring'''






from __future__ import annotations

from fractions import Fraction





def lowerCamelCase__     (		__lowerCamelCase			:				int			,       __lowerCamelCase			:				int				):







   '''simple docstring'''




   return (
       num != den and num % 1_0 == den // 1_0 and (num // 1_0) / (den % 1_0) == num / den
   )





def lowerCamelCase__     (		__lowerCamelCase			:				int				):







   '''simple docstring'''




   _UpperCAmelCase  :  Optional[int]				       =[]
   _UpperCAmelCase  :  Union[str, Any]				       =1_1
   _UpperCAmelCase  :  Union[str, Any]				       =int('1' + '0' * digit_len				)
   for num in range(__lowerCamelCase			,       __lowerCamelCase				):
      while den <= 9_9:
         if (num != den) and (num % 1_0 == den // 1_0) and (den % 1_0 != 0):
            if is_digit_cancelling(__lowerCamelCase			,       __lowerCamelCase				):
               solutions.append(f"{num}/{den}"				)
         den += 1
      num += 1
      _UpperCAmelCase  :  Optional[int]				       =1_0
   return solutions





def lowerCamelCase__     (		__lowerCamelCase			:				int = 2				):







   '''simple docstring'''




   _UpperCAmelCase  :  Any				       =1.0
   for fraction in fraction_list(__lowerCamelCase				):
      _UpperCAmelCase  :  List[str]				       =Fraction(__lowerCamelCase				)
      result *= frac.denominator / frac.numerator
   return int(__lowerCamelCase				)


if __name__ == "__main__":
 print(solution())

