






from typing import TYPE_CHECKING

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


__snake_case			:			str			   =   {
    "configuration_deformable_detr": ["DEFORMABLE_DETR_PRETRAINED_CONFIG_ARCHIVE_MAP", "DeformableDetrConfig"],
}

try:
					if not is_vision_available():
										raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
					pass
else:
					__snake_case			:			Optional[int]			   =   ["DeformableDetrFeatureExtractor"]
					__snake_case			:			Tuple			   =   ["DeformableDetrImageProcessor"]

try:
					if not is_torch_available():
										raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
					pass
else:
					__snake_case			:			List[str]			   =   [
					    "DEFORMABLE_DETR_PRETRAINED_MODEL_ARCHIVE_LIST",
					    "DeformableDetrForObjectDetection",
					    "DeformableDetrModel",
					    "DeformableDetrPreTrainedModel",
					]


if TYPE_CHECKING:
					from .configuration_deformable_detr import DEFORMABLE_DETR_PRETRAINED_CONFIG_ARCHIVE_MAP, DeformableDetrConfig

					try:
										if not is_vision_available():
															raise OptionalDependencyNotAvailable()
					except OptionalDependencyNotAvailable:
										pass
					else:
										from .feature_extraction_deformable_detr import DeformableDetrFeatureExtractor
										from .image_processing_deformable_detr import DeformableDetrImageProcessor

					try:
										if not is_torch_available():
															raise OptionalDependencyNotAvailable()
					except OptionalDependencyNotAvailable:
										pass
					else:
										from .modeling_deformable_detr import (
										    DEFORMABLE_DETR_PRETRAINED_MODEL_ARCHIVE_LIST,
										    DeformableDetrForObjectDetection,
										    DeformableDetrModel,
										    DeformableDetrPreTrainedModel,
										)

else:
					import sys

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











from ...configuration_utils import PretrainedConfig
from ...utils import logging


lowercase__      :			Optional[Any]           =					logging.get_logger(__name__)

lowercase__      :			Optional[int]           =					{
    "uw-madison/yoso-4096": "https://huggingface.co/uw-madison/yoso-4096/resolve/main/config.json",
    # See all YOSO models at https://huggingface.co/models?filter=yoso
}




class 			a__       (					UpperCamelCase__      ):
     a		:			Dict							=	"""yoso"""







     def __init__(	self  ,		A=50265  ,		A=768  ,		A=12  ,		A=12  ,		A=3072  ,		A="gelu"  ,		A=0.1  ,		A=0.1  ,		A=4096  ,		A=1  ,		A=0.0_2  ,		A=1e-12  ,		A="absolute"  ,		A=True  ,		A=9  ,		A=64  ,		A=None  ,		A=True  ,		A=True  ,		A=1  ,		A=0  ,		A=2  ,		**A  ,		)  ->    Dict:



          '''simple docstring'''



          super().__init__(pad_token_id=A  ,		bos_token_id=A  ,		eos_token_id=A  ,		**A )

          a      =      vocab_size
          a      =      max_position_embeddings
          a      =      hidden_size
          a      =      num_hidden_layers
          a      =      num_attention_heads
          a      =      intermediate_size
          a      =      hidden_act
          a      =      hidden_dropout_prob
          a      =      attention_probs_dropout_prob
          a      =      initializer_range
          a      =      type_vocab_size
          a      =      layer_norm_eps
          a      =      position_embedding_type
          a      =      use_expectation
          a      =      hash_code_len
          a      =      num_hash
          a      =      conv_window
          a      =      use_fast_hash
          a      =      lsh_backward

