
from ..utils import DummyObject, requires_backends

class        _UpperCamelCase				(					metaclass=_A  ):






			'''simple docstring'''

			__UpperCamelCase      :						Optional[Any]					      = ["""flax"""]

			def __init__(       self :       Any						,	*snake_case_ :       Union[str, Any]						,	**snake_case_ :       Dict      ):
							requires_backends(self						,	["""flax"""]      )

			@classmethod
			def       lowerCAmelCase__	(       cls :       str						,	*snake_case_ :       Optional[Any]						,	**snake_case_ :       List[Any]      ):
							requires_backends(cls						,	["""flax"""]      )




			@classmethod
			def       lowerCAmelCase__	(       cls :       str						,	*snake_case_ :       int						,	**snake_case_ :       int      ):
							requires_backends(cls						,	["""flax"""]      )




class        _UpperCamelCase				(					metaclass=_A  ):






			'''simple docstring'''

			__UpperCamelCase      :						Optional[int]					      = ["""flax"""]

			def __init__(       self :       Tuple						,	*snake_case_ :       Any						,	**snake_case_ :       Union[str, Any]      ):
							requires_backends(self						,	["""flax"""]      )

			@classmethod
			def       lowerCAmelCase__	(       cls :       str						,	*snake_case_ :       str						,	**snake_case_ :       str      ):
							requires_backends(cls						,	["""flax"""]      )




			@classmethod
			def       lowerCAmelCase__	(       cls :       Any						,	*snake_case_ :       Dict						,	**snake_case_ :       Optional[Any]      ):
							requires_backends(cls						,	["""flax"""]      )




class        _UpperCamelCase				(					metaclass=_A  ):






			'''simple docstring'''

			__UpperCamelCase      :						List[Any]					      = ["""flax"""]

			def __init__(       self :       int						,	*snake_case_ :       int						,	**snake_case_ :       Optional[int]      ):
							requires_backends(self						,	["""flax"""]      )

			@classmethod
			def       lowerCAmelCase__	(       cls :       Dict						,	*snake_case_ :       Any						,	**snake_case_ :       List[str]      ):
							requires_backends(cls						,	["""flax"""]      )




			@classmethod
			def       lowerCAmelCase__	(       cls :       Union[str, Any]						,	*snake_case_ :       Optional[int]						,	**snake_case_ :       List[Any]      ):
							requires_backends(cls						,	["""flax"""]      )




class        _UpperCamelCase				(					metaclass=_A  ):






			'''simple docstring'''

			__UpperCamelCase      :						List[str]					      = ["""flax"""]

			def __init__(       self :       str						,	*snake_case_ :       List[Any]						,	**snake_case_ :       int      ):
							requires_backends(self						,	["""flax"""]      )

			@classmethod
			def       lowerCAmelCase__	(       cls :       Optional[Any]						,	*snake_case_ :       str						,	**snake_case_ :       Optional[int]      ):
							requires_backends(cls						,	["""flax"""]      )




			@classmethod
			def       lowerCAmelCase__	(       cls :       str						,	*snake_case_ :       List[str]						,	**snake_case_ :       List[Any]      ):
							requires_backends(cls						,	["""flax"""]      )




class        _UpperCamelCase				(					metaclass=_A  ):






			'''simple docstring'''

			__UpperCamelCase      :						List[str]					      = ["""flax"""]

			def __init__(       self :       int						,	*snake_case_ :       List[str]						,	**snake_case_ :       List[str]      ):
							requires_backends(self						,	["""flax"""]      )

			@classmethod
			def       lowerCAmelCase__	(       cls :       Optional[Any]						,	*snake_case_ :       str						,	**snake_case_ :       Dict      ):
							requires_backends(cls						,	["""flax"""]      )




			@classmethod
			def       lowerCAmelCase__	(       cls :       Union[str, Any]						,	*snake_case_ :       List[Any]						,	**snake_case_ :       List[Any]      ):
							requires_backends(cls						,	["""flax"""]      )




class        _UpperCamelCase				(					metaclass=_A  ):






			'''simple docstring'''

			__UpperCamelCase      :						Tuple					      = ["""flax"""]

			def __init__(       self :       Optional[Any]						,	*snake_case_ :       List[Any]						,	**snake_case_ :       Tuple      ):
							requires_backends(self						,	["""flax"""]      )

			@classmethod
			def       lowerCAmelCase__	(       cls :       int						,	*snake_case_ :       Optional[int]						,	**snake_case_ :       Any      ):
							requires_backends(cls						,	["""flax"""]      )




			@classmethod
			def       lowerCAmelCase__	(       cls :       int						,	*snake_case_ :       int						,	**snake_case_ :       Union[str, Any]      ):
							requires_backends(cls						,	["""flax"""]      )




class        _UpperCamelCase				(					metaclass=_A  ):






			'''simple docstring'''

			__UpperCamelCase      :						Union[str, Any]					      = ["""flax"""]

			def __init__(       self :       List[Any]						,	*snake_case_ :       Union[str, Any]						,	**snake_case_ :       Optional[int]      ):
							requires_backends(self						,	["""flax"""]      )

			@classmethod
			def       lowerCAmelCase__	(       cls :       Tuple						,	*snake_case_ :       Union[str, Any]						,	**snake_case_ :       str      ):
							requires_backends(cls						,	["""flax"""]      )




			@classmethod
			def       lowerCAmelCase__	(       cls :       int						,	*snake_case_ :       List[str]						,	**snake_case_ :       Optional[int]      ):
							requires_backends(cls						,	["""flax"""]      )




class        _UpperCamelCase				(					metaclass=_A  ):






			'''simple docstring'''

			__UpperCamelCase      :						Union[str, Any]					      = ["""flax"""]

			def __init__(       self :       Dict						,	*snake_case_ :       int						,	**snake_case_ :       List[Any]      ):
							requires_backends(self						,	["""flax"""]      )

			@classmethod
			def       lowerCAmelCase__	(       cls :       Tuple						,	*snake_case_ :       str						,	**snake_case_ :       str      ):
							requires_backends(cls						,	["""flax"""]      )




			@classmethod
			def       lowerCAmelCase__	(       cls :       Optional[Any]						,	*snake_case_ :       List[Any]						,	**snake_case_ :       Union[str, Any]      ):
							requires_backends(cls						,	["""flax"""]      )




class        _UpperCamelCase				(					metaclass=_A  ):






			'''simple docstring'''

			__UpperCamelCase      :						List[Any]					      = ["""flax"""]

			def __init__(       self :       Tuple						,	*snake_case_ :       str						,	**snake_case_ :       int      ):
							requires_backends(self						,	["""flax"""]      )

			@classmethod
			def       lowerCAmelCase__	(       cls :       List[Any]						,	*snake_case_ :       Optional[int]						,	**snake_case_ :       List[Any]      ):
							requires_backends(cls						,	["""flax"""]      )




			@classmethod
			def       lowerCAmelCase__	(       cls :       Tuple						,	*snake_case_ :       List[str]						,	**snake_case_ :       Optional[int]      ):
							requires_backends(cls						,	["""flax"""]      )




class        _UpperCamelCase				(					metaclass=_A  ):






			'''simple docstring'''

			__UpperCamelCase      :						Dict					      = ["""flax"""]

			def __init__(       self :       str						,	*snake_case_ :       Optional[int]						,	**snake_case_ :       Any      ):
							requires_backends(self						,	["""flax"""]      )

			@classmethod
			def       lowerCAmelCase__	(       cls :       List[str]						,	*snake_case_ :       Optional[int]						,	**snake_case_ :       Optional[int]      ):
							requires_backends(cls						,	["""flax"""]      )




			@classmethod
			def       lowerCAmelCase__	(       cls :       List[Any]						,	*snake_case_ :       str						,	**snake_case_ :       Tuple      ):
							requires_backends(cls						,	["""flax"""]      )




class        _UpperCamelCase				(					metaclass=_A  ):






			'''simple docstring'''

			__UpperCamelCase      :						List[str]					      = ["""flax"""]

			def __init__(       self :       Union[str, Any]						,	*snake_case_ :       Optional[Any]						,	**snake_case_ :       Optional[int]      ):
							requires_backends(self						,	["""flax"""]      )

			@classmethod
			def       lowerCAmelCase__	(       cls :       int						,	*snake_case_ :       List[Any]						,	**snake_case_ :       List[Any]      ):
							requires_backends(cls						,	["""flax"""]      )




			@classmethod
			def       lowerCAmelCase__	(       cls :       Union[str, Any]						,	*snake_case_ :       str						,	**snake_case_ :       Any      ):
							requires_backends(cls						,	["""flax"""]      )




class        _UpperCamelCase				(					metaclass=_A  ):






			'''simple docstring'''

			__UpperCamelCase      :						Any					      = ["""flax"""]

			def __init__(       self :       Union[str, Any]						,	*snake_case_ :       str						,	**snake_case_ :       Optional[Any]      ):
							requires_backends(self						,	["""flax"""]      )

			@classmethod
			def       lowerCAmelCase__	(       cls :       Optional[int]						,	*snake_case_ :       Union[str, Any]						,	**snake_case_ :       Optional[int]      ):
							requires_backends(cls						,	["""flax"""]      )




			@classmethod
			def       lowerCAmelCase__	(       cls :       Optional[int]						,	*snake_case_ :       int						,	**snake_case_ :       int      ):
							requires_backends(cls						,	["""flax"""]      )




class        _UpperCamelCase				(					metaclass=_A  ):






			'''simple docstring'''

			__UpperCamelCase      :						List[str]					      = ["""flax"""]

			def __init__(       self :       List[str]						,	*snake_case_ :       Union[str, Any]						,	**snake_case_ :       Optional[Any]      ):
							requires_backends(self						,	["""flax"""]      )

			@classmethod
			def       lowerCAmelCase__	(       cls :       Optional[int]						,	*snake_case_ :       str						,	**snake_case_ :       int      ):
							requires_backends(cls						,	["""flax"""]      )




			@classmethod
			def       lowerCAmelCase__	(       cls :       Optional[int]						,	*snake_case_ :       List[Any]						,	**snake_case_ :       Optional[Any]      ):
							requires_backends(cls						,	["""flax"""]      )








from typing import TYPE_CHECKING

from ...utils import (
    OptionalDependencyNotAvailable,
    _LazyModule,
    is_flax_available,
    is_tf_available,
    is_tokenizers_available,
    is_torch_available,
)


lowerCamelCase_						: str         =  {
    """configuration_roformer""": ["""ROFORMER_PRETRAINED_CONFIG_ARCHIVE_MAP""", """RoFormerConfig""", """RoFormerOnnxConfig"""],
    """tokenization_roformer""": ["""RoFormerTokenizer"""],
}

try:
							if not is_tokenizers_available():
														raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
							pass
else:
							lowerCamelCase_						: Union[str, Any]         =  ["""RoFormerTokenizerFast"""]

try:
							if not is_torch_available():
														raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
							pass
else:
							lowerCamelCase_						: Any         =  [
							    """ROFORMER_PRETRAINED_MODEL_ARCHIVE_LIST""",
							    """RoFormerForCausalLM""",
							    """RoFormerForMaskedLM""",
							    """RoFormerForMultipleChoice""",
							    """RoFormerForQuestionAnswering""",
							    """RoFormerForSequenceClassification""",
							    """RoFormerForTokenClassification""",
							    """RoFormerLayer""",
							    """RoFormerModel""",
							    """RoFormerPreTrainedModel""",
							    """load_tf_weights_in_roformer""",
							]


try:
							if not is_tf_available():
														raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
							pass
else:
							lowerCamelCase_						: Dict         =  [
							    """TF_ROFORMER_PRETRAINED_MODEL_ARCHIVE_LIST""",
							    """TFRoFormerForCausalLM""",
							    """TFRoFormerForMaskedLM""",
							    """TFRoFormerForMultipleChoice""",
							    """TFRoFormerForQuestionAnswering""",
							    """TFRoFormerForSequenceClassification""",
							    """TFRoFormerForTokenClassification""",
							    """TFRoFormerLayer""",
							    """TFRoFormerModel""",
							    """TFRoFormerPreTrainedModel""",
							]


try:
							if not is_flax_available():
														raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
							pass
else:
							lowerCamelCase_						: Optional[Any]         =  [
							    """FLAX_ROFORMER_PRETRAINED_MODEL_ARCHIVE_LIST""",
							    """FlaxRoFormerForMaskedLM""",
							    """FlaxRoFormerForMultipleChoice""",
							    """FlaxRoFormerForQuestionAnswering""",
							    """FlaxRoFormerForSequenceClassification""",
							    """FlaxRoFormerForTokenClassification""",
							    """FlaxRoFormerModel""",
							    """FlaxRoFormerPreTrainedModel""",
							]


if TYPE_CHECKING:
							from .configuration_roformer import ROFORMER_PRETRAINED_CONFIG_ARCHIVE_MAP, RoFormerConfig, RoFormerOnnxConfig
							from .tokenization_roformer import RoFormerTokenizer

							try:
														if not is_tokenizers_available():
																					raise OptionalDependencyNotAvailable()
							except OptionalDependencyNotAvailable:
														pass
							else:
														from .tokenization_roformer_fast import RoFormerTokenizerFast

							try:
														if not is_torch_available():
																					raise OptionalDependencyNotAvailable()
							except OptionalDependencyNotAvailable:
														pass
							else:
														from .modeling_roformer import (
														    ROFORMER_PRETRAINED_MODEL_ARCHIVE_LIST,
														    RoFormerForCausalLM,
														    RoFormerForMaskedLM,
														    RoFormerForMultipleChoice,
														    RoFormerForQuestionAnswering,
														    RoFormerForSequenceClassification,
														    RoFormerForTokenClassification,
														    RoFormerLayer,
														    RoFormerModel,
														    RoFormerPreTrainedModel,
														    load_tf_weights_in_roformer,
														)

							try:
														if not is_tf_available():
																					raise OptionalDependencyNotAvailable()
							except OptionalDependencyNotAvailable:
														pass
							else:
														from .modeling_tf_roformer import (
														    TF_ROFORMER_PRETRAINED_MODEL_ARCHIVE_LIST,
														    TFRoFormerForCausalLM,
														    TFRoFormerForMaskedLM,
														    TFRoFormerForMultipleChoice,
														    TFRoFormerForQuestionAnswering,
														    TFRoFormerForSequenceClassification,
														    TFRoFormerForTokenClassification,
														    TFRoFormerLayer,
														    TFRoFormerModel,
														    TFRoFormerPreTrainedModel,
														)

							try:
														if not is_flax_available():
																					raise OptionalDependencyNotAvailable()
							except OptionalDependencyNotAvailable:
														pass
							else:
														from .modeling_flax_roformer import (
														    FLAX_ROFORMER_PRETRAINED_MODEL_ARCHIVE_LIST,
														    FlaxRoFormerForMaskedLM,
														    FlaxRoFormerForMultipleChoice,
														    FlaxRoFormerForQuestionAnswering,
														    FlaxRoFormerForSequenceClassification,
														    FlaxRoFormerForTokenClassification,
														    FlaxRoFormerModel,
														    FlaxRoFormerPreTrainedModel,
														)


else:
							import sys

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






