





'''simple docstring'''


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


lowerCAmelCase_   :   str       =					logging.get_logger(__name__)

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






class       UpperCamelCase__  (		__lowerCAmelCase     ):
	lowerCAmelCase__					:			Dict								=						"gpt_neox_japanese"







	def __init__(				self			:   Dict , lowerCamelCase			:   Dict=3_2_0_0_0 , lowerCamelCase			:   Optional[int]=2_5_6_0 , lowerCamelCase			:   Union[str, Any]=3_2 , lowerCamelCase			:   int=3_2 , lowerCamelCase			:   Union[str, Any]=4 , lowerCamelCase			:   Optional[Any]="gelu" , lowerCamelCase			:   Union[str, Any]=1.00 , lowerCamelCase			:   Any=1_0_0_0_0 , lowerCamelCase			:   Dict=2_0_4_8 , lowerCamelCase			:   Any=0.02 , lowerCamelCase			:   List[Any]=1e-5 , lowerCamelCase			:   int=True , lowerCamelCase			:   List[Any]=3_1_9_9_6 , lowerCamelCase			:   Optional[Any]=3_1_9_9_9 , lowerCamelCase			:   Any=0.1 , lowerCamelCase			:   str=0.0 , **lowerCamelCase			:   List[Any] , ):




				'''simple docstring'''
				super().__init__(bos_token_id=lowerCamelCase , eos_token_id=lowerCamelCase , **lowerCamelCase		)
				a__     = vocab_size
				a__     = max_position_embeddings
				a__     = hidden_size
				a__     = num_hidden_layers
				a__     = num_attention_heads
				a__     = intermediate_multiple_size
				a__     = hidden_act
				a__     = rotary_pct
				a__     = rotary_emb_base
				a__     = initializer_range
				a__     = layer_norm_eps
				a__     = use_cache
				a__     = attention_dropout
				a__     = hidden_dropout










'''simple docstring'''


import re







def    _lowerCamelCase  (__lowerCamelCase  :     str     )   ->    bool:
			a__     = re.compile(
			    r"^(?:0|94|\+94|0{2}94)" r"7(0|1|2|4|5|6|7|8)" r"(-| |)" r"\d{7}$"     )

			return bool(re.search(__lowerCamelCase					,  __lowerCamelCase     )     )


if __name__ == "__main__":
		lowerCAmelCase_   :   Any       =					"0094702343221"

		print(is_sri_lankan_phone_number(phone))



