



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


A__						:						Dict          =	logging.get_logger(__name__)

A__						:						List[Any]          =	{
    '''dandelin/vilt-b32-mlm''': '''https://huggingface.co/dandelin/vilt-b32-mlm/blob/main/config.json'''
}



class        __snake_case		(  UpperCamelCase_		):
							_a       =				'''vilt'''




							def __init__( self  : Dict       ,       A_  : Dict=3_0_5_2_2       ,       A_  : int=2       ,       A_  : Optional[int]=2       ,       A_  : List[str]=4_0       ,       A_  : List[str]=7_6_8       ,       A_  : Any=1_2       ,       A_  : int=1_2       ,       A_  : List[Any]=3_0_7_2       ,       A_  : int="gelu"       ,       A_  : Union[str, Any]=0.0       ,       A_  : Any=0.0       ,       A_  : Union[str, Any]=0.02       ,       A_  : str=1e-12       ,       A_  : str=3_8_4       ,       A_  : int=3_2       ,       A_  : Any=3       ,       A_  : int=True       ,       A_  : Tuple=-1       ,       A_  : Optional[Any]=False       ,       A_  : Optional[Any]=-1       ,       **A_  : Tuple       ,       ):
									super().__init__(tie_word_embeddings=A_       ,       **A_)

									lowerCAmelCase_    :  List[Any]             =				vocab_size
									lowerCAmelCase_    :  List[Any]             =				type_vocab_size
									lowerCAmelCase_    :  Optional[int]             =				modality_type_vocab_size
									lowerCAmelCase_    :  Dict             =				max_position_embeddings

									lowerCAmelCase_    :  Optional[Any]             =				hidden_size
									lowerCAmelCase_    :  List[str]             =				num_hidden_layers
									lowerCAmelCase_    :  List[Any]             =				num_attention_heads
									lowerCAmelCase_    :  int             =				intermediate_size
									lowerCAmelCase_    :  Any             =				hidden_act
									lowerCAmelCase_    :  List[Any]             =				hidden_dropout_prob
									lowerCAmelCase_    :  Any             =				attention_probs_dropout_prob
									lowerCAmelCase_    :  Optional[int]             =				initializer_range
									lowerCAmelCase_    :  Union[str, Any]             =				layer_norm_eps

									lowerCAmelCase_    :  Dict             =				image_size
									lowerCAmelCase_    :  Tuple             =				patch_size
									lowerCAmelCase_    :  Dict             =				num_channels
									lowerCAmelCase_    :  Dict             =				qkv_bias
									lowerCAmelCase_    :  Optional[Any]             =				max_image_length
									lowerCAmelCase_    :  int             =				num_images










import warnings

from ...utils import logging
from .image_processing_detr import DetrImageProcessor


A__						:						str          =      logging.get_logger(__name__)



class        __snake_case		(  UpperCamelCase_		):




							def __init__( self  : Union[str, Any]       ,       *A_  : int       ,       **A_  : List[str]):
									warnings.warn(
									    '''The class DetrFeatureExtractor is deprecated and will be removed in version 5 of Transformers.'''
									    ''' Please use DetrImageProcessor instead.'''       ,       A_       ,       )
									super().__init__(*A_       ,       **A_)





