



from typing import TYPE_CHECKING

# rely on isort to merge the imports
from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available


_lowercase		:				Union[str, Any]      		={
    "configuration_autoformer": [
        "AUTOFORMER_PRETRAINED_CONFIG_ARCHIVE_MAP",
        "AutoformerConfig",
    ],
}

try:
							if not is_torch_available():
														raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
							pass
else:
							_lowercase		:				List[Any]      		=[
							    "AUTOFORMER_PRETRAINED_MODEL_ARCHIVE_LIST",
							    "AutoformerForPrediction",
							    "AutoformerModel",
							    "AutoformerPreTrainedModel",
							]


if TYPE_CHECKING:
							from .configuration_autoformer import (
							    AUTOFORMER_PRETRAINED_CONFIG_ARCHIVE_MAP,
							    AutoformerConfig,
							)

							try:
														if not is_torch_available():
																					raise OptionalDependencyNotAvailable()
							except OptionalDependencyNotAvailable:
														pass
							else:
														from .modeling_autoformer import (
														    AUTOFORMER_PRETRAINED_MODEL_ARCHIVE_LIST,
														    AutoformerForPrediction,
														    AutoformerModel,
														    AutoformerPreTrainedModel,
														)

else:
							import sys

							_lowercase		:				Optional[Any]      		=_LazyModule(__name__, globals()["__file__"], _import_structure, module_spec=__spec__)









from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_sentencepiece_available


_lowercase		:				List[Any]      		={}

try:
		if not is_sentencepiece_available():
				raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
		pass
else:
		_lowercase		:				int      		=["BartphoTokenizer"]

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

else:
		import sys

		_lowercase		:				Tuple      		=_LazyModule(__name__, globals()["__file__"], _import_structure, module_spec=__spec__)




