


from __future__ import annotations

import math



def 			lowerCAmelCase (		lowerCAmelCase_ )-> bool:

				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(math.sqrt(lowerCAmelCase_ ) + 1 ) ,   6 ):
								if number % i == 0 or number % (i + 2) == 0:
												return False
				return True



def 			lowerCAmelCase (		lowerCAmelCase_ )-> list[int]:
				lowerCAmelCase_ :      Union[str, Any]    				=				str(lowerCAmelCase_ )
				lowerCAmelCase_ :      Union[str, Any]    				=				[n]
				for i in range(1 ,   len(lowerCAmelCase_ ) ):
								list_nums.append(int(str_num[i:] ) )
								list_nums.append(int(str_num[:-i] ) )
				return list_nums



def 			lowerCAmelCase (		lowerCAmelCase_ )-> bool:
				if len(str(lowerCAmelCase_ ) ) > 3:
								if not is_prime(int(str(lowerCAmelCase_ )[-3:] ) ) or not is_prime(int(str(lowerCAmelCase_ )[:3] ) ):
												return False
				return True



def 			lowerCAmelCase (		lowerCAmelCase_ = 11 )-> list[int]:
				lowerCAmelCase_ :      list[int]    				=				[]
				lowerCAmelCase_ :      Optional[int]    				=				13
				while len(lowerCAmelCase_ ) != count:
								if validate(lowerCAmelCase_ ):
												lowerCAmelCase_ :      List[Any]    				=				list_truncated_nums(lowerCAmelCase_ )
												if all(is_prime(lowerCAmelCase_ ) for i in list_nums ):
																list_truncated_primes.append(lowerCAmelCase_ )
								num += 2
				return list_truncated_primes



def 			lowerCAmelCase (		)-> int:
				return sum(compute_truncated_primes(11 ) )


if __name__ == "__main__":
						print(f"""{sum(compute_truncated_primes(11)) = }""")



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


_UpperCAmelCase			:  Optional[int]     =logging.get_logger(__name__)

_UpperCAmelCase			:  Union[str, Any]     ={
    """abeja/gpt-neox-japanese-2.7b""": """https://huggingface.co/abeja/gpt-neox-japanese-2.7b/resolve/main/config.json""",
}







class 				snake_case__(							UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__      :  str					=							"""gpt_neox_japanese"""




						def __init__(				self   ,						__lowercase=3_2_0_0_0   ,						__lowercase=2_5_6_0   ,						__lowercase=3_2   ,						__lowercase=3_2   ,						__lowercase=4   ,						__lowercase="gelu"   ,						__lowercase=1.00   ,						__lowercase=1_0_0_0_0   ,						__lowercase=2_0_4_8   ,						__lowercase=0.02   ,						__lowercase=1e-5   ,						__lowercase=True   ,						__lowercase=3_1_9_9_6   ,						__lowercase=3_1_9_9_9   ,						__lowercase=0.1   ,						__lowercase=0.0   ,						**__lowercase   ,						)					->    str:
										super().__init__(bos_token_id=__lowercase   ,						eos_token_id=__lowercase   ,						**__lowercase							)
										lowerCAmelCase_ :      Optional[Any]    				=				vocab_size
										lowerCAmelCase_ :      Tuple    				=				max_position_embeddings
										lowerCAmelCase_ :      Optional[Any]    				=				hidden_size
										lowerCAmelCase_ :      Optional[Any]    				=				num_hidden_layers
										lowerCAmelCase_ :      str    				=				num_attention_heads
										lowerCAmelCase_ :      str    				=				intermediate_multiple_size
										lowerCAmelCase_ :      str    				=				hidden_act
										lowerCAmelCase_ :      Dict    				=				rotary_pct
										lowerCAmelCase_ :      Union[str, Any]    				=				rotary_emb_base
										lowerCAmelCase_ :      int    				=				initializer_range
										lowerCAmelCase_ :      Any    				=				layer_norm_eps
										lowerCAmelCase_ :      Optional[Any]    				=				use_cache
										lowerCAmelCase_ :      Tuple    				=				attention_dropout
										lowerCAmelCase_ :      Dict    				=				hidden_dropout