



"""simple docstring"""




import warnings
from functools import wraps
from typing import Callable

def 		__snake_case		( SCREAMING_SNAKE_CASE__      :		Callable							)    ->  Callable:





     '''simple docstring'''

     @wraps(SCREAMING_SNAKE_CASE__							)
     def _inner_fn(*SCREAMING_SNAKE_CASE__      :		Optional[int]		,    **SCREAMING_SNAKE_CASE__      :		Any							):
          warnings.warn(
              (f'\'{fn.__name__}\' is experimental and might be subject to breaking changes in the future.')		,    SCREAMING_SNAKE_CASE__		,    )
          return fn(*SCREAMING_SNAKE_CASE__		,    **SCREAMING_SNAKE_CASE__							)

     return _inner_fn





"""simple docstring"""




from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available


_lowerCAmelCase							:   List[Any]				=				{
    "configuration_lilt": ["LILT_PRETRAINED_CONFIG_ARCHIVE_MAP", "LiltConfig"],
}

try:
 if not is_torch_available():
  raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
 pass
else:
 _lowerCAmelCase							:   int				=				[
     "LILT_PRETRAINED_MODEL_ARCHIVE_LIST",
     "LiltForQuestionAnswering",
     "LiltForSequenceClassification",
     "LiltForTokenClassification",
     "LiltModel",
     "LiltPreTrainedModel",
 ]

if TYPE_CHECKING:
 from .configuration_lilt import LILT_PRETRAINED_CONFIG_ARCHIVE_MAP, LiltConfig

 try:
  if not is_torch_available():
   raise OptionalDependencyNotAvailable()
 except OptionalDependencyNotAvailable:
  pass
 else:
  from .modeling_lilt import (
      LILT_PRETRAINED_MODEL_ARCHIVE_LIST,
      LiltForQuestionAnswering,
      LiltForSequenceClassification,
      LiltForTokenClassification,
      LiltModel,
      LiltPreTrainedModel,
  )

else:
 import sys

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