


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


_UpperCAmelCase			:  int     =logging.get_logger(__name__)

_UpperCAmelCase			:  List[Any]     ={
    """microsoft/biogpt""": """https://huggingface.co/microsoft/biogpt/resolve/main/config.json""",
    # See all BioGPT models at https://huggingface.co/models?filter=biogpt
}







class 				snake_case__(							UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__      :  int					=							"""biogpt"""




						def __init__(				self   ,						__lowercase=4_2_3_8_4   ,						__lowercase=1_0_2_4   ,						__lowercase=2_4   ,						__lowercase=1_6   ,						__lowercase=4_0_9_6   ,						__lowercase="gelu"   ,						__lowercase=0.1   ,						__lowercase=0.1   ,						__lowercase=1_0_2_4   ,						__lowercase=0.02   ,						__lowercase=1e-12   ,						__lowercase=True   ,						__lowercase=True   ,						__lowercase=0.0   ,						__lowercase=0.0   ,						__lowercase=1   ,						__lowercase=0   ,						__lowercase=2   ,						**__lowercase   ,						)					->    str:
										lowerCAmelCase_ :      Any    				=				vocab_size
										lowerCAmelCase_ :      int    				=				max_position_embeddings
										lowerCAmelCase_ :      Union[str, Any]    				=				hidden_size
										lowerCAmelCase_ :      int    				=				num_hidden_layers
										lowerCAmelCase_ :      Any    				=				num_attention_heads
										lowerCAmelCase_ :      int    				=				intermediate_size
										lowerCAmelCase_ :      int    				=				hidden_act
										lowerCAmelCase_ :      int    				=				hidden_dropout_prob
										lowerCAmelCase_ :      Dict    				=				attention_probs_dropout_prob
										lowerCAmelCase_ :      Optional[int]    				=				initializer_range
										lowerCAmelCase_ :      Union[str, Any]    				=				layer_norm_eps
										lowerCAmelCase_ :      int    				=				scale_embedding
										lowerCAmelCase_ :      List[Any]    				=				use_cache
										lowerCAmelCase_ :      Dict    				=				layerdrop
										lowerCAmelCase_ :      Tuple    				=				activation_dropout
										super().__init__(pad_token_id=__lowercase   ,						bos_token_id=__lowercase   ,						eos_token_id=__lowercase   ,						**__lowercase							)



import re



def 			lowerCAmelCase (		lowerCAmelCase_ )-> bool:
				lowerCAmelCase_ :      Tuple    				=				re.compile(r'''^(\+91[\-\s]?)?[0]?(91)?[789]\d{9}$''' )
				if match := re.search(lowerCAmelCase_ ,   lowerCAmelCase_ ):
								return match.string == phone
				return False


if __name__ == "__main__":
						print(indian_phone_validator("""+918827897895"""))