
'''simple docstring'''

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


_UpperCAmelCase   :      int 						=  logging.get_logger(__name__)

_UpperCAmelCase   :      Optional[Any] 						=  {
    """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 			UpperCAmelCase				(					a_ ):





		"""simple docstring"""





		A__  :   Union[str, Any]          =    'yoso'
		def __init__(    self  ,					_snake_case=50265  ,					_snake_case=768  ,					_snake_case=12  ,					_snake_case=12  ,					_snake_case=3072  ,					_snake_case="gelu"  ,					_snake_case=0.1  ,					_snake_case=0.1  ,					_snake_case=4096  ,					_snake_case=1  ,					_snake_case=0.02  ,					_snake_case=1E-12  ,					_snake_case="absolute"  ,					_snake_case=True  ,					_snake_case=9  ,					_snake_case=64  ,					_snake_case=None  ,					_snake_case=True  ,					_snake_case=True  ,					_snake_case=1  ,					_snake_case=0  ,					_snake_case=2  ,					**_snake_case  ,					)				->    Optional[Any]:
				super().__init__(pad_token_id=_snake_case  ,					bos_token_id=_snake_case  ,					eos_token_id=_snake_case  ,					**_snake_case     )

				_UpperCamelCase       : Optional[int]    =      vocab_size
				_UpperCamelCase       : List[Any]    =      max_position_embeddings
				_UpperCamelCase       : Union[str, Any]    =      hidden_size
				_UpperCamelCase       : List[Any]    =      num_hidden_layers
				_UpperCamelCase       : Union[str, Any]    =      num_attention_heads
				_UpperCamelCase       : Union[str, Any]    =      intermediate_size
				_UpperCamelCase       : Union[str, Any]    =      hidden_act
				_UpperCamelCase       : List[str]    =      hidden_dropout_prob
				_UpperCamelCase       : Tuple    =      attention_probs_dropout_prob
				_UpperCamelCase       : Any    =      initializer_range
				_UpperCamelCase       : List[str]    =      type_vocab_size
				_UpperCamelCase       : List[str]    =      layer_norm_eps
				_UpperCamelCase       : Dict    =      position_embedding_type
				_UpperCamelCase       : str    =      use_expectation
				_UpperCamelCase       : Dict    =      hash_code_len
				_UpperCamelCase       : Optional[int]    =      num_hash
				_UpperCamelCase       : str    =      conv_window
				_UpperCamelCase       : Optional[int]    =      use_fast_hash
				_UpperCamelCase       : Dict    =      lsh_backward







'''simple docstring'''

import warnings

from ...utils import logging
from .image_processing_mobilenet_va import MobileNetVaImageProcessor


_UpperCAmelCase   :      Optional[int] 						=  logging.get_logger(__name__)

class 			UpperCAmelCase				(					a_ ):





		"""simple docstring"""





		def __init__(    self  ,					*_snake_case  ,					**_snake_case     )				->    None:
				warnings.warn(
				    '''The class MobileNetV2FeatureExtractor is deprecated and will be removed in version 5 of Transformers.'''
				    ''' Please use MobileNetV2ImageProcessor instead.'''  ,					_snake_case  ,					)
				super().__init__(*_snake_case  ,					**_snake_case     )





