


from ..utils import DummyObject, requires_backends

class       __magic_name__	(     metaclass=__lowerCAmelCase):
     A:		Any				=      ["flax"]


     def __init__(      self							:     Optional[Any]							,	*lowerCamelCase__							:     List[str]							,	**lowerCamelCase__							:     List[str]			)  ->      Union[str, Any]:





      '''simple docstring'''






      requires_backends(self							,	['''flax''']			)


     @classmethod
     def      UpperCAmelCase__	(      cls							:     List[str]							,	*lowerCamelCase__							:     Dict							,	**lowerCamelCase__							:     List[str]			)  ->      Any:





      '''simple docstring'''






      requires_backends(cls							,	['''flax''']			)


     @classmethod
     def      UpperCAmelCase__	(      cls							:     List[str]							,	*lowerCamelCase__							:     Optional[int]							,	**lowerCamelCase__							:     Optional[int]			)  ->      int:





      '''simple docstring'''






      requires_backends(cls							,	['''flax''']			)



class       __magic_name__	(     metaclass=__lowerCAmelCase):
     A:		Optional[int]				=      ["flax"]


     def __init__(      self							:     Optional[Any]							,	*lowerCamelCase__							:     Tuple							,	**lowerCamelCase__							:     Union[str, Any]			)  ->      Optional[int]:





      '''simple docstring'''






      requires_backends(self							,	['''flax''']			)


     @classmethod
     def      UpperCAmelCase__	(      cls							:     Any							,	*lowerCamelCase__							:     int							,	**lowerCamelCase__							:     int			)  ->      List[str]:





      '''simple docstring'''






      requires_backends(cls							,	['''flax''']			)


     @classmethod
     def      UpperCAmelCase__	(      cls							:     int							,	*lowerCamelCase__							:     Dict							,	**lowerCamelCase__							:     List[Any]			)  ->      int:





      '''simple docstring'''






      requires_backends(cls							,	['''flax''']			)



class       __magic_name__	(     metaclass=__lowerCAmelCase):
     A:		List[str]				=      ["flax"]


     def __init__(      self							:     Tuple							,	*lowerCamelCase__							:     str							,	**lowerCamelCase__							:     Optional[Any]			)  ->      List[str]:





      '''simple docstring'''






      requires_backends(self							,	['''flax''']			)


     @classmethod
     def      UpperCAmelCase__	(      cls							:     str							,	*lowerCamelCase__							:     Dict							,	**lowerCamelCase__							:     str			)  ->      Any:





      '''simple docstring'''






      requires_backends(cls							,	['''flax''']			)


     @classmethod
     def      UpperCAmelCase__	(      cls							:     Any							,	*lowerCamelCase__							:     int							,	**lowerCamelCase__							:     Dict			)  ->      str:





      '''simple docstring'''






      requires_backends(cls							,	['''flax''']			)



class       __magic_name__	(     metaclass=__lowerCAmelCase):
     A:		Dict				=      ["flax"]


     def __init__(      self							:     List[str]							,	*lowerCamelCase__							:     Optional[int]							,	**lowerCamelCase__							:     Tuple			)  ->      Tuple:





      '''simple docstring'''






      requires_backends(self							,	['''flax''']			)


     @classmethod
     def      UpperCAmelCase__	(      cls							:     Union[str, Any]							,	*lowerCamelCase__							:     Tuple							,	**lowerCamelCase__							:     Union[str, Any]			)  ->      Dict:





      '''simple docstring'''






      requires_backends(cls							,	['''flax''']			)


     @classmethod
     def      UpperCAmelCase__	(      cls							:     Tuple							,	*lowerCamelCase__							:     str							,	**lowerCamelCase__							:     List[str]			)  ->      Union[str, Any]:





      '''simple docstring'''






      requires_backends(cls							,	['''flax''']			)



class       __magic_name__	(     metaclass=__lowerCAmelCase):
     A:		int				=      ["flax"]


     def __init__(      self							:     Union[str, Any]							,	*lowerCamelCase__							:     str							,	**lowerCamelCase__							:     int			)  ->      Optional[int]:





      '''simple docstring'''






      requires_backends(self							,	['''flax''']			)


     @classmethod
     def      UpperCAmelCase__	(      cls							:     Union[str, Any]							,	*lowerCamelCase__							:     Any							,	**lowerCamelCase__							:     List[str]			)  ->      Tuple:





      '''simple docstring'''






      requires_backends(cls							,	['''flax''']			)


     @classmethod
     def      UpperCAmelCase__	(      cls							:     int							,	*lowerCamelCase__							:     Optional[Any]							,	**lowerCamelCase__							:     Union[str, Any]			)  ->      Dict:





      '''simple docstring'''






      requires_backends(cls							,	['''flax''']			)



class       __magic_name__	(     metaclass=__lowerCAmelCase):
     A:		Any				=      ["flax"]


     def __init__(      self							:     Any							,	*lowerCamelCase__							:     Optional[int]							,	**lowerCamelCase__							:     Any			)  ->      int:





      '''simple docstring'''






      requires_backends(self							,	['''flax''']			)


     @classmethod
     def      UpperCAmelCase__	(      cls							:     Optional[int]							,	*lowerCamelCase__							:     List[Any]							,	**lowerCamelCase__							:     Union[str, Any]			)  ->      Any:





      '''simple docstring'''






      requires_backends(cls							,	['''flax''']			)


     @classmethod
     def      UpperCAmelCase__	(      cls							:     str							,	*lowerCamelCase__							:     Optional[Any]							,	**lowerCamelCase__							:     Union[str, Any]			)  ->      Optional[int]:





      '''simple docstring'''






      requires_backends(cls							,	['''flax''']			)



class       __magic_name__	(     metaclass=__lowerCAmelCase):
     A:		List[str]				=      ["flax"]


     def __init__(      self							:     Any							,	*lowerCamelCase__							:     Optional[int]							,	**lowerCamelCase__							:     str			)  ->      Dict:





      '''simple docstring'''






      requires_backends(self							,	['''flax''']			)


     @classmethod
     def      UpperCAmelCase__	(      cls							:     List[Any]							,	*lowerCamelCase__							:     Optional[int]							,	**lowerCamelCase__							:     str			)  ->      Optional[Any]:





      '''simple docstring'''






      requires_backends(cls							,	['''flax''']			)


     @classmethod
     def      UpperCAmelCase__	(      cls							:     Optional[int]							,	*lowerCamelCase__							:     Optional[Any]							,	**lowerCamelCase__							:     Optional[int]			)  ->      Optional[int]:





      '''simple docstring'''






      requires_backends(cls							,	['''flax''']			)



class       __magic_name__	(     metaclass=__lowerCAmelCase):
     A:		Optional[Any]				=      ["flax"]


     def __init__(      self							:     List[str]							,	*lowerCamelCase__							:     int							,	**lowerCamelCase__							:     Optional[int]			)  ->      Optional[Any]:





      '''simple docstring'''






      requires_backends(self							,	['''flax''']			)


     @classmethod
     def      UpperCAmelCase__	(      cls							:     Optional[Any]							,	*lowerCamelCase__							:     List[Any]							,	**lowerCamelCase__							:     Tuple			)  ->      List[str]:





      '''simple docstring'''






      requires_backends(cls							,	['''flax''']			)


     @classmethod
     def      UpperCAmelCase__	(      cls							:     int							,	*lowerCamelCase__							:     Union[str, Any]							,	**lowerCamelCase__							:     int			)  ->      Any:





      '''simple docstring'''






      requires_backends(cls							,	['''flax''']			)



class       __magic_name__	(     metaclass=__lowerCAmelCase):
     A:		str				=      ["flax"]


     def __init__(      self							:     Union[str, Any]							,	*lowerCamelCase__							:     Optional[int]							,	**lowerCamelCase__							:     List[str]			)  ->      Union[str, Any]:





      '''simple docstring'''






      requires_backends(self							,	['''flax''']			)


     @classmethod
     def      UpperCAmelCase__	(      cls							:     str							,	*lowerCamelCase__							:     List[Any]							,	**lowerCamelCase__							:     Union[str, Any]			)  ->      Optional[Any]:





      '''simple docstring'''






      requires_backends(cls							,	['''flax''']			)


     @classmethod
     def      UpperCAmelCase__	(      cls							:     List[Any]							,	*lowerCamelCase__							:     Union[str, Any]							,	**lowerCamelCase__							:     Any			)  ->      Optional[int]:





      '''simple docstring'''






      requires_backends(cls							,	['''flax''']			)



class       __magic_name__	(     metaclass=__lowerCAmelCase):
     A:		List[str]				=      ["flax"]


     def __init__(      self							:     List[Any]							,	*lowerCamelCase__							:     Any							,	**lowerCamelCase__							:     Optional[Any]			)  ->      Tuple:





      '''simple docstring'''






      requires_backends(self							,	['''flax''']			)


     @classmethod
     def      UpperCAmelCase__	(      cls							:     List[str]							,	*lowerCamelCase__							:     Tuple							,	**lowerCamelCase__							:     List[str]			)  ->      List[Any]:





      '''simple docstring'''






      requires_backends(cls							,	['''flax''']			)


     @classmethod
     def      UpperCAmelCase__	(      cls							:     Tuple							,	*lowerCamelCase__							:     Dict							,	**lowerCamelCase__							:     List[str]			)  ->      List[Any]:





      '''simple docstring'''






      requires_backends(cls							,	['''flax''']			)



class       __magic_name__	(     metaclass=__lowerCAmelCase):
     A:		Optional[int]				=      ["flax"]


     def __init__(      self							:     str							,	*lowerCamelCase__							:     int							,	**lowerCamelCase__							:     Tuple			)  ->      Union[str, Any]:





      '''simple docstring'''






      requires_backends(self							,	['''flax''']			)


     @classmethod
     def      UpperCAmelCase__	(      cls							:     Tuple							,	*lowerCamelCase__							:     Any							,	**lowerCamelCase__							:     int			)  ->      Any:





      '''simple docstring'''






      requires_backends(cls							,	['''flax''']			)


     @classmethod
     def      UpperCAmelCase__	(      cls							:     int							,	*lowerCamelCase__							:     Optional[int]							,	**lowerCamelCase__							:     Optional[Any]			)  ->      List[Any]:





      '''simple docstring'''






      requires_backends(cls							,	['''flax''']			)



class       __magic_name__	(     metaclass=__lowerCAmelCase):
     A:		str				=      ["flax"]


     def __init__(      self							:     Optional[int]							,	*lowerCamelCase__							:     str							,	**lowerCamelCase__							:     Optional[Any]			)  ->      Union[str, Any]:





      '''simple docstring'''






      requires_backends(self							,	['''flax''']			)


     @classmethod
     def      UpperCAmelCase__	(      cls							:     str							,	*lowerCamelCase__							:     int							,	**lowerCamelCase__							:     Optional[Any]			)  ->      List[Any]:





      '''simple docstring'''






      requires_backends(cls							,	['''flax''']			)


     @classmethod
     def      UpperCAmelCase__	(      cls							:     Optional[Any]							,	*lowerCamelCase__							:     List[str]							,	**lowerCamelCase__							:     List[Any]			)  ->      List[str]:





      '''simple docstring'''






      requires_backends(cls							,	['''flax''']			)



class       __magic_name__	(     metaclass=__lowerCAmelCase):
     A:		List[str]				=      ["flax"]


     def __init__(      self							:     List[str]							,	*lowerCamelCase__							:     Any							,	**lowerCamelCase__							:     Optional[int]			)  ->      int:





      '''simple docstring'''






      requires_backends(self							,	['''flax''']			)


     @classmethod
     def      UpperCAmelCase__	(      cls							:     List[Any]							,	*lowerCamelCase__							:     int							,	**lowerCamelCase__							:     Optional[int]			)  ->      Union[str, Any]:





      '''simple docstring'''






      requires_backends(cls							,	['''flax''']			)


     @classmethod
     def      UpperCAmelCase__	(      cls							:     Union[str, Any]							,	*lowerCamelCase__							:     Optional[Any]							,	**lowerCamelCase__							:     int			)  ->      Any:





      '''simple docstring'''






      requires_backends(cls							,	['''flax''']			)






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


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

__UpperCamelCase       :       Optional[int]						       =				{
    "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       __magic_name__	(     __lowerCAmelCase):
     A:		Optional[Any]			=      "markuplm"


     def __init__(      self							:     List[Any]							,	lowerCamelCase__							:     Optional[int]=30522							,	lowerCamelCase__							:     Dict=768							,	lowerCamelCase__							:     List[str]=12							,	lowerCamelCase__							:     List[Any]=12							,	lowerCamelCase__							:     Optional[Any]=3072							,	lowerCamelCase__							:     int="gelu"							,	lowerCamelCase__							:     Union[str, Any]=0.1							,	lowerCamelCase__							:     Optional[int]=0.1							,	lowerCamelCase__							:     Tuple=512							,	lowerCamelCase__							:     List[str]=2							,	lowerCamelCase__							:     Union[str, Any]=0.02							,	lowerCamelCase__							:     Optional[Any]=1E-1_2							,	lowerCamelCase__							:     List[str]=0							,	lowerCamelCase__							:     Tuple=0							,	lowerCamelCase__							:     List[str]=2							,	lowerCamelCase__							:     List[Any]=256							,	lowerCamelCase__							:     List[str]=1024							,	lowerCamelCase__							:     Optional[int]=216							,	lowerCamelCase__							:     Any=1001							,	lowerCamelCase__							:     int=32							,	lowerCamelCase__							:     Tuple=50							,	lowerCamelCase__							:     str="absolute"							,	lowerCamelCase__							:     List[str]=True							,	lowerCamelCase__							:     List[Any]=None							,	**lowerCamelCase__							:     List[str]							,	)  ->      Union[str, Any]:





      '''simple docstring'''






      super().__init__(
          pad_token_id=lowerCamelCase__							,	bos_token_id=lowerCamelCase__							,	eos_token_id=lowerCamelCase__							,	**lowerCamelCase__							,	)
      UpperCamelCase__					:    Optional[int]          =   vocab_size
      UpperCamelCase__					:    List[Any]          =   hidden_size
      UpperCamelCase__					:    Any          =   num_hidden_layers
      UpperCamelCase__					:    Tuple          =   num_attention_heads
      UpperCamelCase__					:    Any          =   hidden_act
      UpperCamelCase__					:    Dict          =   intermediate_size
      UpperCamelCase__					:    Optional[Any]          =   hidden_dropout_prob
      UpperCamelCase__					:    Optional[int]          =   attention_probs_dropout_prob
      UpperCamelCase__					:    Tuple          =   max_position_embeddings
      UpperCamelCase__					:    List[str]          =   type_vocab_size
      UpperCamelCase__					:    Any          =   initializer_range
      UpperCamelCase__					:    Dict          =   layer_norm_eps
      UpperCamelCase__					:    Any          =   position_embedding_type
      UpperCamelCase__					:    Optional[Any]          =   use_cache
      UpperCamelCase__					:    int          =   classifier_dropout
      # additional properties
      UpperCamelCase__					:    int          =   max_depth
      UpperCamelCase__					:    Optional[Any]          =   max_xpath_tag_unit_embeddings
      UpperCamelCase__					:    List[Any]          =   max_xpath_subs_unit_embeddings
      UpperCamelCase__					:    List[Any]          =   tag_pad_id
      UpperCamelCase__					:    Optional[int]          =   subs_pad_id
      UpperCamelCase__					:    Optional[Any]          =   xpath_unit_hidden_size


