



from ..utils import DummyObject, requires_backends
class 			_lowerCAmelCase   ( metaclass=_UpperCAmelCase			):






			"""simple docstring"""





			lowercase__      :  Optional[int]      =			["""sentencepiece"""]





			def __init__(				self	:       List[str]			,     *lowercase	:       str			,     **lowercase	:       Union[str, Any]   )						->					Any:
									"""simple docstring"""







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





class 			_lowerCAmelCase   ( metaclass=_UpperCAmelCase			):






			"""simple docstring"""





			lowercase__      :  Optional[int]      =			["""sentencepiece"""]





			def __init__(				self	:       Optional[Any]			,     *lowercase	:       Any			,     **lowercase	:       List[str]   )						->					Union[str, Any]:
									"""simple docstring"""







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





class 			_lowerCAmelCase   ( metaclass=_UpperCAmelCase			):






			"""simple docstring"""





			lowercase__      :  List[Any]      =			["""sentencepiece"""]





			def __init__(				self	:       Any			,     *lowercase	:       str			,     **lowercase	:       str   )						->					Tuple:
									"""simple docstring"""







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





class 			_lowerCAmelCase   ( metaclass=_UpperCAmelCase			):






			"""simple docstring"""





			lowercase__      :  List[str]      =			["""sentencepiece"""]





			def __init__(				self	:       List[str]			,     *lowercase	:       Dict			,     **lowercase	:       List[Any]   )						->					Union[str, Any]:
									"""simple docstring"""







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





class 			_lowerCAmelCase   ( metaclass=_UpperCAmelCase			):






			"""simple docstring"""





			lowercase__      :  Tuple      =			["""sentencepiece"""]





			def __init__(				self	:       List[str]			,     *lowercase	:       Optional[Any]			,     **lowercase	:       Optional[Any]   )						->					Dict:
									"""simple docstring"""







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





class 			_lowerCAmelCase   ( metaclass=_UpperCAmelCase			):






			"""simple docstring"""





			lowercase__      :  Tuple      =			["""sentencepiece"""]





			def __init__(				self	:       str			,     *lowercase	:       Any			,     **lowercase	:       Any   )						->					Optional[Any]:
									"""simple docstring"""







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





class 			_lowerCAmelCase   ( metaclass=_UpperCAmelCase			):






			"""simple docstring"""





			lowercase__      :  List[Any]      =			["""sentencepiece"""]





			def __init__(				self	:       Any			,     *lowercase	:       str			,     **lowercase	:       Optional[Any]   )						->					List[Any]:
									"""simple docstring"""







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





class 			_lowerCAmelCase   ( metaclass=_UpperCAmelCase			):






			"""simple docstring"""





			lowercase__      :  Dict      =			["""sentencepiece"""]





			def __init__(				self	:       str			,     *lowercase	:       List[str]			,     **lowercase	:       Any   )						->					Dict:
									"""simple docstring"""







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





class 			_lowerCAmelCase   ( metaclass=_UpperCAmelCase			):






			"""simple docstring"""





			lowercase__      :  Optional[Any]      =			["""sentencepiece"""]





			def __init__(				self	:       Tuple			,     *lowercase	:       Optional[int]			,     **lowercase	:       Optional[Any]   )						->					List[str]:
									"""simple docstring"""







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





class 			_lowerCAmelCase   ( metaclass=_UpperCAmelCase			):






			"""simple docstring"""





			lowercase__      :  Dict      =			["""sentencepiece"""]





			def __init__(				self	:       str			,     *lowercase	:       Any			,     **lowercase	:       Optional[Any]   )						->					Union[str, Any]:
									"""simple docstring"""







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





class 			_lowerCAmelCase   ( metaclass=_UpperCAmelCase			):






			"""simple docstring"""





			lowercase__      :  Optional[Any]      =			["""sentencepiece"""]





			def __init__(				self	:       Union[str, Any]			,     *lowercase	:       Any			,     **lowercase	:       int   )						->					int:
									"""simple docstring"""







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





class 			_lowerCAmelCase   ( metaclass=_UpperCAmelCase			):






			"""simple docstring"""





			lowercase__      :  Union[str, Any]      =			["""sentencepiece"""]





			def __init__(				self	:       Optional[int]			,     *lowercase	:       Dict			,     **lowercase	:       int   )						->					List[Any]:
									"""simple docstring"""







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





class 			_lowerCAmelCase   ( metaclass=_UpperCAmelCase			):






			"""simple docstring"""





			lowercase__      :  str      =			["""sentencepiece"""]





			def __init__(				self	:       Optional[Any]			,     *lowercase	:       int			,     **lowercase	:       List[Any]   )						->					int:
									"""simple docstring"""







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





class 			_lowerCAmelCase   ( metaclass=_UpperCAmelCase			):






			"""simple docstring"""





			lowercase__      :  str      =			["""sentencepiece"""]





			def __init__(				self	:       Any			,     *lowercase	:       Optional[int]			,     **lowercase	:       Any   )						->					Optional[Any]:
									"""simple docstring"""







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





class 			_lowerCAmelCase   ( metaclass=_UpperCAmelCase			):






			"""simple docstring"""





			lowercase__      :  int      =			["""sentencepiece"""]





			def __init__(				self	:       str			,     *lowercase	:       Optional[Any]			,     **lowercase	:       Tuple   )						->					List[Any]:
									"""simple docstring"""







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





class 			_lowerCAmelCase   ( metaclass=_UpperCAmelCase			):






			"""simple docstring"""





			lowercase__      :  int      =			["""sentencepiece"""]





			def __init__(				self	:       List[str]			,     *lowercase	:       Tuple			,     **lowercase	:       int   )						->					Any:
									"""simple docstring"""







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





class 			_lowerCAmelCase   ( metaclass=_UpperCAmelCase			):






			"""simple docstring"""





			lowercase__      :  Any      =			["""sentencepiece"""]





			def __init__(				self	:       Union[str, Any]			,     *lowercase	:       Optional[int]			,     **lowercase	:       Union[str, Any]   )						->					List[str]:
									"""simple docstring"""







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





class 			_lowerCAmelCase   ( metaclass=_UpperCAmelCase			):






			"""simple docstring"""





			lowercase__      :  str      =			["""sentencepiece"""]





			def __init__(				self	:       List[str]			,     *lowercase	:       Any			,     **lowercase	:       List[Any]   )						->					List[Any]:
									"""simple docstring"""







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





class 			_lowerCAmelCase   ( metaclass=_UpperCAmelCase			):






			"""simple docstring"""





			lowercase__      :  Tuple      =			["""sentencepiece"""]





			def __init__(				self	:       str			,     *lowercase	:       int			,     **lowercase	:       int   )						->					Any:
									"""simple docstring"""







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





class 			_lowerCAmelCase   ( metaclass=_UpperCAmelCase			):






			"""simple docstring"""





			lowercase__      :  List[Any]      =			["""sentencepiece"""]





			def __init__(				self	:       Any			,     *lowercase	:       Dict			,     **lowercase	:       Optional[Any]   )						->					Dict:
									"""simple docstring"""







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





class 			_lowerCAmelCase   ( metaclass=_UpperCAmelCase			):






			"""simple docstring"""





			lowercase__      :  List[str]      =			["""sentencepiece"""]





			def __init__(				self	:       Optional[int]			,     *lowercase	:       List[Any]			,     **lowercase	:       Optional[int]   )						->					Optional[int]:
									"""simple docstring"""







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





class 			_lowerCAmelCase   ( metaclass=_UpperCAmelCase			):






			"""simple docstring"""





			lowercase__      :  int      =			["""sentencepiece"""]





			def __init__(				self	:       List[str]			,     *lowercase	:       Dict			,     **lowercase	:       Optional[int]   )						->					Tuple:
									"""simple docstring"""







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





class 			_lowerCAmelCase   ( metaclass=_UpperCAmelCase			):






			"""simple docstring"""





			lowercase__      :  List[Any]      =			["""sentencepiece"""]





			def __init__(				self	:       Union[str, Any]			,     *lowercase	:       Union[str, Any]			,     **lowercase	:       Tuple   )						->					str:
									"""simple docstring"""







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





class 			_lowerCAmelCase   ( metaclass=_UpperCAmelCase			):






			"""simple docstring"""





			lowercase__      :  int      =			["""sentencepiece"""]





			def __init__(				self	:       str			,     *lowercase	:       str			,     **lowercase	:       Union[str, Any]   )						->					Optional[Any]:
									"""simple docstring"""







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





class 			_lowerCAmelCase   ( metaclass=_UpperCAmelCase			):






			"""simple docstring"""





			lowercase__      :  Dict      =			["""sentencepiece"""]





			def __init__(				self	:       List[str]			,     *lowercase	:       Optional[Any]			,     **lowercase	:       List[str]   )						->					Optional[Any]:
									"""simple docstring"""







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





class 			_lowerCAmelCase   ( metaclass=_UpperCAmelCase			):






			"""simple docstring"""





			lowercase__      :  Tuple      =			["""sentencepiece"""]





			def __init__(				self	:       List[Any]			,     *lowercase	:       Tuple			,     **lowercase	:       Optional[int]   )						->					str:
									"""simple docstring"""







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





class 			_lowerCAmelCase   ( metaclass=_UpperCAmelCase			):






			"""simple docstring"""





			lowercase__      :  List[Any]      =			["""sentencepiece"""]





			def __init__(				self	:       int			,     *lowercase	:       List[str]			,     **lowercase	:       Tuple   )						->					Tuple:
									"""simple docstring"""







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





class 			_lowerCAmelCase   ( metaclass=_UpperCAmelCase			):






			"""simple docstring"""





			lowercase__      :  Optional[int]      =			["""sentencepiece"""]





			def __init__(				self	:       Tuple			,     *lowercase	:       Any			,     **lowercase	:       Any   )						->					List[str]:
									"""simple docstring"""







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





class 			_lowerCAmelCase   ( metaclass=_UpperCAmelCase			):






			"""simple docstring"""





			lowercase__      :  Any      =			["""sentencepiece"""]





			def __init__(				self	:       int			,     *lowercase	:       Optional[Any]			,     **lowercase	:       str   )						->					Dict:
									"""simple docstring"""







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





class 			_lowerCAmelCase   ( metaclass=_UpperCAmelCase			):






			"""simple docstring"""





			lowercase__      :  Optional[Any]      =			["""sentencepiece"""]





			def __init__(				self	:       Optional[Any]			,     *lowercase	:       List[str]			,     **lowercase	:       str   )						->					List[Any]:
									"""simple docstring"""







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





class 			_lowerCAmelCase   ( metaclass=_UpperCAmelCase			):






			"""simple docstring"""





			lowercase__      :  List[str]      =			["""sentencepiece"""]





			def __init__(				self	:       Optional[int]			,     *lowercase	:       List[str]			,     **lowercase	:       Optional[Any]   )						->					Optional[Any]:
									"""simple docstring"""







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








from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_tf_available, is_torch_available


UpperCamelCase__ =						{
    "configuration_ctrl": ["CTRL_PRETRAINED_CONFIG_ARCHIVE_MAP", "CTRLConfig"],
    "tokenization_ctrl": ["CTRLTokenizer"],
}

try:
			if not is_torch_available():
						raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
			pass
else:
			UpperCamelCase__ =						[
			    "CTRL_PRETRAINED_MODEL_ARCHIVE_LIST",
			    "CTRLForSequenceClassification",
			    "CTRLLMHeadModel",
			    "CTRLModel",
			    "CTRLPreTrainedModel",
			]

try:
			if not is_tf_available():
						raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
			pass
else:
			UpperCamelCase__ =						[
			    "TF_CTRL_PRETRAINED_MODEL_ARCHIVE_LIST",
			    "TFCTRLForSequenceClassification",
			    "TFCTRLLMHeadModel",
			    "TFCTRLModel",
			    "TFCTRLPreTrainedModel",
			]


if TYPE_CHECKING:
			from .configuration_ctrl import CTRL_PRETRAINED_CONFIG_ARCHIVE_MAP, CTRLConfig
			from .tokenization_ctrl import CTRLTokenizer

			try:
						if not is_torch_available():
									raise OptionalDependencyNotAvailable()
			except OptionalDependencyNotAvailable:
						pass
			else:
						from .modeling_ctrl import (
						    CTRL_PRETRAINED_MODEL_ARCHIVE_LIST,
						    CTRLForSequenceClassification,
						    CTRLLMHeadModel,
						    CTRLModel,
						    CTRLPreTrainedModel,
						)

			try:
						if not is_tf_available():
									raise OptionalDependencyNotAvailable()
			except OptionalDependencyNotAvailable:
						pass
			else:
						from .modeling_tf_ctrl import (
						    TF_CTRL_PRETRAINED_MODEL_ARCHIVE_LIST,
						    TFCTRLForSequenceClassification,
						    TFCTRLLMHeadModel,
						    TFCTRLModel,
						    TFCTRLPreTrainedModel,
						)

else:
			import sys

			UpperCamelCase__ =						_LazyModule(__name__, globals()["__file__"], _import_structure, module_spec=__spec__)





