



'''simple docstring'''





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


lowercase_		       =  logging.get_logger(__name__)

lowercase_		       =  {
    "microsoft/markuplm-base": "https://huggingface.co/microsoft/markuplm-base/resolve/main/config.json",
    "microsoft/markuplm-large": "https://huggingface.co/microsoft/markuplm-large/resolve/main/config.json",
}






class __A			(  lowercase__						):



 '''simple docstring'''







 __lowerCamelCase    :       Dict          =       'markuplm'



 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=0 ,   A=2 ,   A=256 ,   A=1_024 ,   A=216 ,   A=1_001 ,   A=32 ,   A=50 ,   A="absolute" ,   A=True ,   A=None ,   **A ,   )    ->     Optional[int]:


      """simple docstring"""



      super().__init__(
          pad_token_id=__lowerCamelCase ,   bos_token_id=__lowerCamelCase ,   eos_token_id=__lowerCamelCase ,   **__lowerCamelCase ,   )
      _a      =  vocab_size
      _a      =  hidden_size
      _a      =  num_hidden_layers
      _a      =  num_attention_heads
      _a      =  hidden_act
      _a      =  intermediate_size
      _a      =  hidden_dropout_prob
      _a      =  attention_probs_dropout_prob
      _a      =  max_position_embeddings
      _a      =  type_vocab_size
      _a      =  initializer_range
      _a      =  layer_norm_eps
      _a      =  position_embedding_type
      _a      =  use_cache
      _a      =  classifier_dropout
      # additional properties
      _a      =  max_depth
      _a      =  max_xpath_tag_unit_embeddings
      _a      =  max_xpath_subs_unit_embeddings
      _a      =  tag_pad_id
      _a      =  subs_pad_id
      _a      =  xpath_unit_hidden_size







import warnings

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


A      :    List[str]		=					logging.get_logger(__name__)







class 			_lowercase (							lowercase__):


       """simple docstring"""




       def __init__(   self							:			Optional[int]					,      *__lowerCamelCase							:			List[str]					,      **__lowerCamelCase							:			str       ):


             '''simple docstring'''



             warnings.warn(
                 "The class BeitFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please"
                 " use BeitImageProcessor instead."					,      __lowerCamelCase					,      )
             super().__init__(*__lowerCamelCase					,      **__lowerCamelCase       )


