

"""simple docstring"""




import os
import sys

__UpperCAmelCase			=					os.path.join(os.path.dirname(__file__), 'src')
sys.path.append(SRC_DIR)


from transformers import (
    AutoConfig,
    AutoModel,
    AutoModelForCausalLM,
    AutoModelForMaskedLM,
    AutoModelForQuestionAnswering,
    AutoModelForSequenceClassification,
    AutoTokenizer,
    add_start_docstrings,
)


__UpperCAmelCase			=					[
    'torch',
    'numpy',
    'tokenizers',
    'filelock',
    'requests',
    'tqdm',
    'regex',
    'sentencepiece',
    'sacremoses',
    'importlib_metadata',
    'huggingface_hub',
]
@add_start_docstrings(AutoConfig.__doc__   )
def 	lowerCAmelCase    (       *__UpperCamelCase				,     **__UpperCamelCase   ):
 '''simple docstring'''





 return AutoConfig.from_pretrained(*__UpperCamelCase				,     **__UpperCamelCase   )
@add_start_docstrings(AutoTokenizer.__doc__   )
def 	lowerCAmelCase    (       *__UpperCamelCase				,     **__UpperCamelCase   ):
 '''simple docstring'''





 return AutoTokenizer.from_pretrained(*__UpperCamelCase				,     **__UpperCamelCase   )
@add_start_docstrings(AutoModel.__doc__   )
def 	lowerCAmelCase    (       *__UpperCamelCase				,     **__UpperCamelCase   ):
 '''simple docstring'''





 return AutoModel.from_pretrained(*__UpperCamelCase				,     **__UpperCamelCase   )
@add_start_docstrings(AutoModelForCausalLM.__doc__   )
def 	lowerCAmelCase    (       *__UpperCamelCase				,     **__UpperCamelCase   ):
 '''simple docstring'''





 return AutoModelForCausalLM.from_pretrained(*__UpperCamelCase				,     **__UpperCamelCase   )
@add_start_docstrings(AutoModelForMaskedLM.__doc__   )
def 	lowerCAmelCase    (       *__UpperCamelCase				,     **__UpperCamelCase   ):
 '''simple docstring'''





 return AutoModelForMaskedLM.from_pretrained(*__UpperCamelCase				,     **__UpperCamelCase   )
@add_start_docstrings(AutoModelForSequenceClassification.__doc__   )
def 	lowerCAmelCase    (       *__UpperCamelCase				,     **__UpperCamelCase   ):
 '''simple docstring'''





 return AutoModelForSequenceClassification.from_pretrained(*__UpperCamelCase				,     **__UpperCamelCase   )




@add_start_docstrings(AutoModelForQuestionAnswering.__doc__   )
def 	lowerCAmelCase    (       *__UpperCamelCase				,     **__UpperCamelCase   ):
 '''simple docstring'''





 return AutoModelForQuestionAnswering.from_pretrained(*__UpperCamelCase				,     **__UpperCamelCase   )












"""simple docstring"""


import re




def        lowercase__     (       lowercase_      )       ->		bool:




      """simple docstring"""

      _UpperCamelCase   :						List[Any]    =							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(lowercase_		,lowercase_      )      )


if __name__ == "__main__":
  lowerCamelCase__						= "0094702343221"

  print(is_sri_lankan_phone_number(phone))
