




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


lowerCamelCase__				:     int			       =							logging.get_logger(__name__)

lowerCamelCase__				:     Tuple			       =							{
    'dandelin/vilt-b32-mlm': 'https://huggingface.co/dandelin/vilt-b32-mlm/blob/main/config.json'
}





class  lowerCamelCase_							(   _SCREAMING_SNAKE_CASE      ):


 '''simple docstring'''







 lowercase_       					=					"vilt"



 def __init__(							self						:	Any       ,       _lowerCAmelCase						:	Any=30_522       ,       _lowerCAmelCase						:	str=2       ,       _lowerCAmelCase						:	str=2       ,       _lowerCAmelCase						:	Optional[int]=40       ,       _lowerCAmelCase						:	Dict=768       ,       _lowerCAmelCase						:	int=12       ,       _lowerCAmelCase						:	Dict=12       ,       _lowerCAmelCase						:	Dict=3_072       ,       _lowerCAmelCase						:	Tuple="gelu"       ,       _lowerCAmelCase						:	Optional[Any]=0.0       ,       _lowerCAmelCase						:	List[str]=0.0       ,       _lowerCAmelCase						:	List[Any]=0.02       ,       _lowerCAmelCase						:	Any=1E-12       ,       _lowerCAmelCase						:	Any=384       ,       _lowerCAmelCase						:	Optional[int]=32       ,       _lowerCAmelCase						:	List[Any]=3       ,       _lowerCAmelCase						:	Union[str, Any]=True       ,       _lowerCAmelCase						:	List[str]=-1       ,       _lowerCAmelCase						:	Dict=False       ,       _lowerCAmelCase						:	Dict=-1       ,       **_lowerCAmelCase						:	Tuple       ,       ):
       super().__init__(tie_word_embeddings=_lowerCAmelCase       ,       **_lowerCAmelCase		)

       SCREAMING_SNAKE_CASE_					=    vocab_size
       SCREAMING_SNAKE_CASE_					=    type_vocab_size
       SCREAMING_SNAKE_CASE_					=    modality_type_vocab_size
       SCREAMING_SNAKE_CASE_					=    max_position_embeddings

       SCREAMING_SNAKE_CASE_					=    hidden_size
       SCREAMING_SNAKE_CASE_					=    num_hidden_layers
       SCREAMING_SNAKE_CASE_					=    num_attention_heads
       SCREAMING_SNAKE_CASE_					=    intermediate_size
       SCREAMING_SNAKE_CASE_					=    hidden_act
       SCREAMING_SNAKE_CASE_					=    hidden_dropout_prob
       SCREAMING_SNAKE_CASE_					=    attention_probs_dropout_prob
       SCREAMING_SNAKE_CASE_					=    initializer_range
       SCREAMING_SNAKE_CASE_					=    layer_norm_eps

       SCREAMING_SNAKE_CASE_					=    image_size
       SCREAMING_SNAKE_CASE_					=    patch_size
       SCREAMING_SNAKE_CASE_					=    num_channels
       SCREAMING_SNAKE_CASE_					=    qkv_bias
       SCREAMING_SNAKE_CASE_					=    max_image_length
       SCREAMING_SNAKE_CASE_					=    num_images





import warnings

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


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





class  lowerCamelCase_							(   _SCREAMING_SNAKE_CASE      ):


 '''simple docstring'''







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