




'''simple docstring'''


from ..utils import DummyObject, requires_backends







class     SCREAMING_SNAKE_CASE						(	metaclass=snake_case_							):
      __magic_name__     :					int             =				['''tokenizers''']






      def __init__(   self      :     Tuple	,	*lowercase__      :     Any	,	**lowercase__      :     Tuple					):


           '''simple docstring'''

           requires_backends(self	,	["""tokenizers"""]					)







class     SCREAMING_SNAKE_CASE						(	metaclass=snake_case_							):
      __magic_name__     :					int             =				['''tokenizers''']






      def __init__(   self      :     Optional[Any]	,	*lowercase__      :     Optional[Any]	,	**lowercase__      :     str					):


           '''simple docstring'''

           requires_backends(self	,	["""tokenizers"""]					)







class     SCREAMING_SNAKE_CASE						(	metaclass=snake_case_							):
      __magic_name__     :					Dict             =				['''tokenizers''']






      def __init__(   self      :     Dict	,	*lowercase__      :     Dict	,	**lowercase__      :     List[str]					):


           '''simple docstring'''

           requires_backends(self	,	["""tokenizers"""]					)







class     SCREAMING_SNAKE_CASE						(	metaclass=snake_case_							):
      __magic_name__     :					Optional[Any]             =				['''tokenizers''']






      def __init__(   self      :     List[Any]	,	*lowercase__      :     Union[str, Any]	,	**lowercase__      :     Optional[Any]					):


           '''simple docstring'''

           requires_backends(self	,	["""tokenizers"""]					)







class     SCREAMING_SNAKE_CASE						(	metaclass=snake_case_							):
      __magic_name__     :					Optional[int]             =				['''tokenizers''']






      def __init__(   self      :     List[Any]	,	*lowercase__      :     Optional[Any]	,	**lowercase__      :     Optional[Any]					):


           '''simple docstring'''

           requires_backends(self	,	["""tokenizers"""]					)







class     SCREAMING_SNAKE_CASE						(	metaclass=snake_case_							):
      __magic_name__     :					Tuple             =				['''tokenizers''']






      def __init__(   self      :     Dict	,	*lowercase__      :     List[Any]	,	**lowercase__      :     List[str]					):


           '''simple docstring'''

           requires_backends(self	,	["""tokenizers"""]					)







class     SCREAMING_SNAKE_CASE						(	metaclass=snake_case_							):
      __magic_name__     :					Dict             =				['''tokenizers''']






      def __init__(   self      :     Tuple	,	*lowercase__      :     Dict	,	**lowercase__      :     Dict					):


           '''simple docstring'''

           requires_backends(self	,	["""tokenizers"""]					)







class     SCREAMING_SNAKE_CASE						(	metaclass=snake_case_							):
      __magic_name__     :					List[str]             =				['''tokenizers''']






      def __init__(   self      :     Union[str, Any]	,	*lowercase__      :     Optional[Any]	,	**lowercase__      :     Any					):


           '''simple docstring'''

           requires_backends(self	,	["""tokenizers"""]					)







class     SCREAMING_SNAKE_CASE						(	metaclass=snake_case_							):
      __magic_name__     :					Tuple             =				['''tokenizers''']






      def __init__(   self      :     Any	,	*lowercase__      :     Any	,	**lowercase__      :     Any					):


           '''simple docstring'''

           requires_backends(self	,	["""tokenizers"""]					)







class     SCREAMING_SNAKE_CASE						(	metaclass=snake_case_							):
      __magic_name__     :					Union[str, Any]             =				['''tokenizers''']






      def __init__(   self      :     List[Any]	,	*lowercase__      :     Optional[int]	,	**lowercase__      :     Optional[int]					):


           '''simple docstring'''

           requires_backends(self	,	["""tokenizers"""]					)







class     SCREAMING_SNAKE_CASE						(	metaclass=snake_case_							):
      __magic_name__     :					int             =				['''tokenizers''']






      def __init__(   self      :     Any	,	*lowercase__      :     Optional[Any]	,	**lowercase__      :     str					):


           '''simple docstring'''

           requires_backends(self	,	["""tokenizers"""]					)







class     SCREAMING_SNAKE_CASE						(	metaclass=snake_case_							):
      __magic_name__     :					Any             =				['''tokenizers''']






      def __init__(   self      :     str	,	*lowercase__      :     List[Any]	,	**lowercase__      :     List[str]					):


           '''simple docstring'''

           requires_backends(self	,	["""tokenizers"""]					)







class     SCREAMING_SNAKE_CASE						(	metaclass=snake_case_							):
      __magic_name__     :					List[Any]             =				['''tokenizers''']






      def __init__(   self      :     List[str]	,	*lowercase__      :     str	,	**lowercase__      :     int					):


           '''simple docstring'''

           requires_backends(self	,	["""tokenizers"""]					)







class     SCREAMING_SNAKE_CASE						(	metaclass=snake_case_							):
      __magic_name__     :					List[Any]             =				['''tokenizers''']






      def __init__(   self      :     List[Any]	,	*lowercase__      :     Union[str, Any]	,	**lowercase__      :     Union[str, Any]					):


           '''simple docstring'''

           requires_backends(self	,	["""tokenizers"""]					)







class     SCREAMING_SNAKE_CASE						(	metaclass=snake_case_							):
      __magic_name__     :					Any             =				['''tokenizers''']






      def __init__(   self      :     Dict	,	*lowercase__      :     List[Any]	,	**lowercase__      :     Optional[Any]					):


           '''simple docstring'''

           requires_backends(self	,	["""tokenizers"""]					)







class     SCREAMING_SNAKE_CASE						(	metaclass=snake_case_							):
      __magic_name__     :					Optional[Any]             =				['''tokenizers''']






      def __init__(   self      :     Dict	,	*lowercase__      :     Tuple	,	**lowercase__      :     Optional[Any]					):


           '''simple docstring'''

           requires_backends(self	,	["""tokenizers"""]					)







class     SCREAMING_SNAKE_CASE						(	metaclass=snake_case_							):
      __magic_name__     :					Any             =				['''tokenizers''']






      def __init__(   self      :     str	,	*lowercase__      :     Any	,	**lowercase__      :     Tuple					):


           '''simple docstring'''

           requires_backends(self	,	["""tokenizers"""]					)







class     SCREAMING_SNAKE_CASE						(	metaclass=snake_case_							):
      __magic_name__     :					int             =				['''tokenizers''']






      def __init__(   self      :     List[Any]	,	*lowercase__      :     Optional[int]	,	**lowercase__      :     int					):


           '''simple docstring'''

           requires_backends(self	,	["""tokenizers"""]					)







class     SCREAMING_SNAKE_CASE						(	metaclass=snake_case_							):
      __magic_name__     :					int             =				['''tokenizers''']






      def __init__(   self      :     Tuple	,	*lowercase__      :     Optional[int]	,	**lowercase__      :     Any					):


           '''simple docstring'''

           requires_backends(self	,	["""tokenizers"""]					)







class     SCREAMING_SNAKE_CASE						(	metaclass=snake_case_							):
      __magic_name__     :					List[Any]             =				['''tokenizers''']






      def __init__(   self      :     int	,	*lowercase__      :     List[str]	,	**lowercase__      :     Tuple					):


           '''simple docstring'''

           requires_backends(self	,	["""tokenizers"""]					)







class     SCREAMING_SNAKE_CASE						(	metaclass=snake_case_							):
      __magic_name__     :					Any             =				['''tokenizers''']






      def __init__(   self      :     List[Any]	,	*lowercase__      :     Dict	,	**lowercase__      :     List[str]					):


           '''simple docstring'''

           requires_backends(self	,	["""tokenizers"""]					)







class     SCREAMING_SNAKE_CASE						(	metaclass=snake_case_							):
      __magic_name__     :					List[str]             =				['''tokenizers''']






      def __init__(   self      :     Optional[int]	,	*lowercase__      :     Union[str, Any]	,	**lowercase__      :     int					):


           '''simple docstring'''

           requires_backends(self	,	["""tokenizers"""]					)







class     SCREAMING_SNAKE_CASE						(	metaclass=snake_case_							):
      __magic_name__     :					Union[str, Any]             =				['''tokenizers''']






      def __init__(   self      :     Any	,	*lowercase__      :     Any	,	**lowercase__      :     Any					):


           '''simple docstring'''

           requires_backends(self	,	["""tokenizers"""]					)







class     SCREAMING_SNAKE_CASE						(	metaclass=snake_case_							):
      __magic_name__     :					Tuple             =				['''tokenizers''']






      def __init__(   self      :     Optional[Any]	,	*lowercase__      :     str	,	**lowercase__      :     Tuple					):


           '''simple docstring'''

           requires_backends(self	,	["""tokenizers"""]					)







class     SCREAMING_SNAKE_CASE						(	metaclass=snake_case_							):
      __magic_name__     :					int             =				['''tokenizers''']






      def __init__(   self      :     str	,	*lowercase__      :     Any	,	**lowercase__      :     str					):


           '''simple docstring'''

           requires_backends(self	,	["""tokenizers"""]					)







class     SCREAMING_SNAKE_CASE						(	metaclass=snake_case_							):
      __magic_name__     :					Any             =				['''tokenizers''']






      def __init__(   self      :     Optional[Any]	,	*lowercase__      :     Optional[int]	,	**lowercase__      :     Tuple					):


           '''simple docstring'''

           requires_backends(self	,	["""tokenizers"""]					)







class     SCREAMING_SNAKE_CASE						(	metaclass=snake_case_							):
      __magic_name__     :					Any             =				['''tokenizers''']






      def __init__(   self      :     Tuple	,	*lowercase__      :     Union[str, Any]	,	**lowercase__      :     str					):


           '''simple docstring'''

           requires_backends(self	,	["""tokenizers"""]					)







class     SCREAMING_SNAKE_CASE						(	metaclass=snake_case_							):
      __magic_name__     :					List[Any]             =				['''tokenizers''']






      def __init__(   self      :     List[str]	,	*lowercase__      :     Dict	,	**lowercase__      :     Any					):


           '''simple docstring'''

           requires_backends(self	,	["""tokenizers"""]					)







class     SCREAMING_SNAKE_CASE						(	metaclass=snake_case_							):
      __magic_name__     :					Optional[int]             =				['''tokenizers''']






      def __init__(   self      :     Optional[Any]	,	*lowercase__      :     Optional[int]	,	**lowercase__      :     Tuple					):


           '''simple docstring'''

           requires_backends(self	,	["""tokenizers"""]					)







class     SCREAMING_SNAKE_CASE						(	metaclass=snake_case_							):
      __magic_name__     :					Any             =				['''tokenizers''']






      def __init__(   self      :     List[Any]	,	*lowercase__      :     List[str]	,	**lowercase__      :     Optional[Any]					):


           '''simple docstring'''

           requires_backends(self	,	["""tokenizers"""]					)







class     SCREAMING_SNAKE_CASE						(	metaclass=snake_case_							):
      __magic_name__     :					List[str]             =				['''tokenizers''']






      def __init__(   self      :     Optional[Any]	,	*lowercase__      :     List[str]	,	**lowercase__      :     Tuple					):


           '''simple docstring'''

           requires_backends(self	,	["""tokenizers"""]					)







class     SCREAMING_SNAKE_CASE						(	metaclass=snake_case_							):
      __magic_name__     :					Any             =				['''tokenizers''']






      def __init__(   self      :     List[str]	,	*lowercase__      :     Optional[Any]	,	**lowercase__      :     Union[str, Any]					):


           '''simple docstring'''

           requires_backends(self	,	["""tokenizers"""]					)







class     SCREAMING_SNAKE_CASE						(	metaclass=snake_case_							):
      __magic_name__     :					Union[str, Any]             =				['''tokenizers''']






      def __init__(   self      :     List[str]	,	*lowercase__      :     int	,	**lowercase__      :     Optional[Any]					):


           '''simple docstring'''

           requires_backends(self	,	["""tokenizers"""]					)







class     SCREAMING_SNAKE_CASE						(	metaclass=snake_case_							):
      __magic_name__     :					str             =				['''tokenizers''']






      def __init__(   self      :     Optional[int]	,	*lowercase__      :     int	,	**lowercase__      :     Dict					):


           '''simple docstring'''

           requires_backends(self	,	["""tokenizers"""]					)







class     SCREAMING_SNAKE_CASE						(	metaclass=snake_case_							):
      __magic_name__     :					Dict             =				['''tokenizers''']






      def __init__(   self      :     List[Any]	,	*lowercase__      :     Optional[Any]	,	**lowercase__      :     str					):


           '''simple docstring'''

           requires_backends(self	,	["""tokenizers"""]					)







class     SCREAMING_SNAKE_CASE						(	metaclass=snake_case_							):
      __magic_name__     :					Union[str, Any]             =				['''tokenizers''']






      def __init__(   self      :     List[str]	,	*lowercase__      :     Tuple	,	**lowercase__      :     Optional[int]					):


           '''simple docstring'''

           requires_backends(self	,	["""tokenizers"""]					)







class     SCREAMING_SNAKE_CASE						(	metaclass=snake_case_							):
      __magic_name__     :					List[str]             =				['''tokenizers''']






      def __init__(   self      :     int	,	*lowercase__      :     int	,	**lowercase__      :     Any					):


           '''simple docstring'''

           requires_backends(self	,	["""tokenizers"""]					)







class     SCREAMING_SNAKE_CASE						(	metaclass=snake_case_							):
      __magic_name__     :					int             =				['''tokenizers''']






      def __init__(   self      :     List[str]	,	*lowercase__      :     List[Any]	,	**lowercase__      :     Union[str, Any]					):


           '''simple docstring'''

           requires_backends(self	,	["""tokenizers"""]					)







class     SCREAMING_SNAKE_CASE						(	metaclass=snake_case_							):
      __magic_name__     :					Optional[int]             =				['''tokenizers''']






      def __init__(   self      :     List[Any]	,	*lowercase__      :     Tuple	,	**lowercase__      :     Union[str, Any]					):


           '''simple docstring'''

           requires_backends(self	,	["""tokenizers"""]					)







class     SCREAMING_SNAKE_CASE						(	metaclass=snake_case_							):
      __magic_name__     :					List[str]             =				['''tokenizers''']






      def __init__(   self      :     Optional[Any]	,	*lowercase__      :     int	,	**lowercase__      :     Tuple					):


           '''simple docstring'''

           requires_backends(self	,	["""tokenizers"""]					)







class     SCREAMING_SNAKE_CASE						(	metaclass=snake_case_							):
      __magic_name__     :					List[Any]             =				['''tokenizers''']






      def __init__(   self      :     List[str]	,	*lowercase__      :     Union[str, Any]	,	**lowercase__      :     int					):


           '''simple docstring'''

           requires_backends(self	,	["""tokenizers"""]					)







class     SCREAMING_SNAKE_CASE						(	metaclass=snake_case_							):
      __magic_name__     :					int             =				['''tokenizers''']






      def __init__(   self      :     List[str]	,	*lowercase__      :     Union[str, Any]	,	**lowercase__      :     int					):


           '''simple docstring'''

           requires_backends(self	,	["""tokenizers"""]					)







class     SCREAMING_SNAKE_CASE						(	metaclass=snake_case_							):
      __magic_name__     :					List[Any]             =				['''tokenizers''']






      def __init__(   self      :     Dict	,	*lowercase__      :     List[Any]	,	**lowercase__      :     Any					):


           '''simple docstring'''

           requires_backends(self	,	["""tokenizers"""]					)







class     SCREAMING_SNAKE_CASE						(	metaclass=snake_case_							):
      __magic_name__     :					Union[str, Any]             =				['''tokenizers''']






      def __init__(   self      :     Optional[Any]	,	*lowercase__      :     str	,	**lowercase__      :     Dict					):


           '''simple docstring'''

           requires_backends(self	,	["""tokenizers"""]					)







class     SCREAMING_SNAKE_CASE						(	metaclass=snake_case_							):
      __magic_name__     :					List[Any]             =				['''tokenizers''']






      def __init__(   self      :     List[Any]	,	*lowercase__      :     List[Any]	,	**lowercase__      :     Union[str, Any]					):


           '''simple docstring'''

           requires_backends(self	,	["""tokenizers"""]					)







class     SCREAMING_SNAKE_CASE						(	metaclass=snake_case_							):
      __magic_name__     :					List[str]             =				['''tokenizers''']






      def __init__(   self      :     List[str]	,	*lowercase__      :     Any	,	**lowercase__      :     Optional[int]					):


           '''simple docstring'''

           requires_backends(self	,	["""tokenizers"""]					)







class     SCREAMING_SNAKE_CASE						(	metaclass=snake_case_							):
      __magic_name__     :					Any             =				['''tokenizers''']






      def __init__(   self      :     Union[str, Any]	,	*lowercase__      :     List[Any]	,	**lowercase__      :     Optional[Any]					):


           '''simple docstring'''

           requires_backends(self	,	["""tokenizers"""]					)







class     SCREAMING_SNAKE_CASE						(	metaclass=snake_case_							):
      __magic_name__     :					Dict             =				['''tokenizers''']






      def __init__(   self      :     Dict	,	*lowercase__      :     str	,	**lowercase__      :     Optional[Any]					):


           '''simple docstring'''

           requires_backends(self	,	["""tokenizers"""]					)







class     SCREAMING_SNAKE_CASE						(	metaclass=snake_case_							):
      __magic_name__     :					Optional[Any]             =				['''tokenizers''']






      def __init__(   self      :     List[Any]	,	*lowercase__      :     Dict	,	**lowercase__      :     List[Any]					):


           '''simple docstring'''

           requires_backends(self	,	["""tokenizers"""]					)







class     SCREAMING_SNAKE_CASE						(	metaclass=snake_case_							):
      __magic_name__     :					str             =				['''tokenizers''']






      def __init__(   self      :     Any	,	*lowercase__      :     Optional[int]	,	**lowercase__      :     Dict					):


           '''simple docstring'''

           requires_backends(self	,	["""tokenizers"""]					)







class     SCREAMING_SNAKE_CASE						(	metaclass=snake_case_							):
      __magic_name__     :					Any             =				['''tokenizers''']






      def __init__(   self      :     int	,	*lowercase__      :     Union[str, Any]	,	**lowercase__      :     Dict					):


           '''simple docstring'''

           requires_backends(self	,	["""tokenizers"""]					)







class     SCREAMING_SNAKE_CASE						(	metaclass=snake_case_							):
      __magic_name__     :					int             =				['''tokenizers''']






      def __init__(   self      :     Any	,	*lowercase__      :     Optional[Any]	,	**lowercase__      :     str					):


           '''simple docstring'''

           requires_backends(self	,	["""tokenizers"""]					)







class     SCREAMING_SNAKE_CASE						(	metaclass=snake_case_							):
      __magic_name__     :					Union[str, Any]             =				['''tokenizers''']






      def __init__(   self      :     Optional[Any]	,	*lowercase__      :     Optional[Any]	,	**lowercase__      :     Optional[Any]					):


           '''simple docstring'''

           requires_backends(self	,	["""tokenizers"""]					)







class     SCREAMING_SNAKE_CASE						(	metaclass=snake_case_							):
      __magic_name__     :					Optional[Any]             =				['''tokenizers''']






      def __init__(   self      :     Optional[int]	,	*lowercase__      :     Any	,	**lowercase__      :     Optional[int]					):


           '''simple docstring'''

           requires_backends(self	,	["""tokenizers"""]					)







class     SCREAMING_SNAKE_CASE						(	metaclass=snake_case_							):
      __magic_name__     :					Any             =				['''tokenizers''']






      def __init__(   self      :     int	,	*lowercase__      :     Union[str, Any]	,	**lowercase__      :     Dict					):


           '''simple docstring'''

           requires_backends(self	,	["""tokenizers"""]					)







class     SCREAMING_SNAKE_CASE						(	metaclass=snake_case_							):
      __magic_name__     :					str             =				['''tokenizers''']






      def __init__(   self      :     int	,	*lowercase__      :     int	,	**lowercase__      :     Optional[int]					):


           '''simple docstring'''

           requires_backends(self	,	["""tokenizers"""]					)







class     SCREAMING_SNAKE_CASE						(	metaclass=snake_case_							):
      __magic_name__     :					str             =				['''tokenizers''']






      def __init__(   self      :     Dict	,	*lowercase__      :     Tuple	,	**lowercase__      :     int					):


           '''simple docstring'''

           requires_backends(self	,	["""tokenizers"""]					)







class     SCREAMING_SNAKE_CASE						(	metaclass=snake_case_							):
      __magic_name__     :					int             =				['''tokenizers''']






      def __init__(   self      :     Optional[int]	,	*lowercase__      :     Optional[Any]	,	**lowercase__      :     Dict					):


           '''simple docstring'''

           requires_backends(self	,	["""tokenizers"""]					)






'''simple docstring'''


from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_sentencepiece_available, is_tokenizers_available


lowerCAmelCase_			:     str							    =     {}

try:
 if not is_sentencepiece_available():
  raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
 pass
else:
 lowerCAmelCase_			:     Optional[int]							    =     ['CpmTokenizer']

try:
 if not is_tokenizers_available():
  raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
 pass
else:
 lowerCAmelCase_			:     Union[str, Any]							    =     ['CpmTokenizerFast']


if TYPE_CHECKING:
 try:
  if not is_sentencepiece_available():
   raise OptionalDependencyNotAvailable()
 except OptionalDependencyNotAvailable:
  pass
 else:
  from .tokenization_cpm import CpmTokenizer

 try:
  if not is_tokenizers_available():
   raise OptionalDependencyNotAvailable()
 except OptionalDependencyNotAvailable:
  pass
 else:
  from .tokenization_cpm_fast import CpmTokenizerFast

else:
 import sys

 lowerCAmelCase_			:     Any							    =     _LazyModule(__name__, globals()['__file__'], _import_structure, module_spec=__spec__)
