"""simple docstring"""



from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available


SCREAMING_SNAKE_CASE__:int			=	{
    """configuration_xmod""": [
        """XMOD_PRETRAINED_CONFIG_ARCHIVE_MAP""",
        """XmodConfig""",
        """XmodOnnxConfig""",
    ],
}

try:
   if not is_torch_available():
      raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
   pass
else:
   SCREAMING_SNAKE_CASE__:str			=	[
       """XMOD_PRETRAINED_MODEL_ARCHIVE_LIST""",
       """XmodForCausalLM""",
       """XmodForMaskedLM""",
       """XmodForMultipleChoice""",
       """XmodForQuestionAnswering""",
       """XmodForSequenceClassification""",
       """XmodForTokenClassification""",
       """XmodModel""",
       """XmodPreTrainedModel""",
   ]

if TYPE_CHECKING:
   from .configuration_xmod import XMOD_PRETRAINED_CONFIG_ARCHIVE_MAP, XmodConfig, XmodOnnxConfig

   try:
      if not is_torch_available():
         raise OptionalDependencyNotAvailable()
   except OptionalDependencyNotAvailable:
      pass
   else:
      from .modeling_xmod import (
          XMOD_PRETRAINED_MODEL_ARCHIVE_LIST,
          XmodForCausalLM,
          XmodForMaskedLM,
          XmodForMultipleChoice,
          XmodForQuestionAnswering,
          XmodForSequenceClassification,
          XmodForTokenClassification,
          XmodModel,
          XmodPreTrainedModel,
      )

else:
   import sys

   SCREAMING_SNAKE_CASE__:Union[str, Any]			=	_LazyModule(__name__, globals()["""__file__"""], _import_structure, module_spec=__spec__)

"""simple docstring"""



from ..utils import DummyObject, requires_backends






class 				snake_case__     (   metaclass=snake_case_   ):
 _snake_case   :			Union[str, Any]           =		["""onnx"""]


 def __init__(				self  ,						*lowerCamelCase  ,						**lowerCamelCase		):
        requires_backends(self  ,						["onnx"]		)


 @classmethod
 def 		a__ (				cls  ,						*lowerCamelCase  ,						**lowerCamelCase		):
        requires_backends(cls  ,						["onnx"]		)






 @classmethod
 def 		a__ (				cls  ,						*lowerCamelCase  ,						**lowerCamelCase		):
        requires_backends(cls  ,						["onnx"]		)
