




'''simple docstring'''







import warnings

from ...utils import logging
from .image_processing_beit import BeitImageProcessor


lowercase      :   int      =       logging.get_logger(__name__)







class 					_a (a__	):





     '''simple docstring'''



     def __init__(				self							,*__a							,**__a							)      ->				None:
          warnings.warn(
              """The class BeitFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please"""
              """ use BeitImageProcessor instead."""							,__a							,)
          super().__init__(*__a							,**__a							)









'''simple docstring'''







import logging

from transformers.configuration_utils import PretrainedConfig


lowercase      :   int      =       logging.getLogger(__name__)







class 					_a (a__	):





     '''simple docstring'''



     lowerCAmelCase_  :     Union[str, Any]          =					"""masked_bert"""







     def __init__(				self							,__a=30_522							,__a=768							,__a=12							,__a=12							,__a=3_072							,__a="gelu"							,__a=0.1							,__a=0.1							,__a=512							,__a=2							,__a=0.02							,__a=1E-12							,__a=0							,__a="topK"							,__a="constant"							,__a=0.0							,**__a							,)      ->				List[str]:
          super().__init__(pad_token_id=__a							,**__a							)

          snake_case			:      Dict        =			vocab_size
          snake_case			:      Optional[Any]        =			hidden_size
          snake_case			:      Dict        =			num_hidden_layers
          snake_case			:      List[Any]        =			num_attention_heads
          snake_case			:      Dict        =			hidden_act
          snake_case			:      Any        =			intermediate_size
          snake_case			:      Optional[int]        =			hidden_dropout_prob
          snake_case			:      Optional[Any]        =			attention_probs_dropout_prob
          snake_case			:      List[Any]        =			max_position_embeddings
          snake_case			:      int        =			type_vocab_size
          snake_case			:      int        =			initializer_range
          snake_case			:      int        =			layer_norm_eps
          snake_case			:      Any        =			pruning_method
          snake_case			:      Union[str, Any]        =			mask_init
          snake_case			:      int        =			mask_scale



