

"""simple docstring"""




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


_UpperCAmelCase		:       Any						    =	logging.get_logger(__name__)

_UpperCAmelCase		:       List[Any]						    =	{
    """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 			lowercase    (	lowercase_      ):
				__SCREAMING_SNAKE_CASE :			Union[str, Any]	      =      """markuplm"""




				def __init__( self				,       snake_case=3_0522				,       snake_case=768				,       snake_case=12				,       snake_case=12				,       snake_case=3072				,       snake_case="gelu"				,       snake_case=0.1				,       snake_case=0.1				,       snake_case=512				,       snake_case=2				,       snake_case=0.02				,       snake_case=1e-1_2				,       snake_case=0				,       snake_case=0				,       snake_case=2				,       snake_case=256				,       snake_case=1024				,       snake_case=216				,       snake_case=1001				,       snake_case=32				,       snake_case=50				,       snake_case="absolute"				,       snake_case=True				,       snake_case=None				,       **snake_case				,       ):
											super().__init__(
											    pad_token_id=_lowercase				,       bos_token_id=_lowercase				,       eos_token_id=_lowercase				,       **_lowercase				,       )
											snake_case_          =   vocab_size
											snake_case_          =   hidden_size
											snake_case_          =   num_hidden_layers
											snake_case_          =   num_attention_heads
											snake_case_          =   hidden_act
											snake_case_          =   intermediate_size
											snake_case_          =   hidden_dropout_prob
											snake_case_          =   attention_probs_dropout_prob
											snake_case_          =   max_position_embeddings
											snake_case_          =   type_vocab_size
											snake_case_          =   initializer_range
											snake_case_          =   layer_norm_eps
											snake_case_          =   position_embedding_type
											snake_case_          =   use_cache
											snake_case_          =   classifier_dropout
											# additional properties
											snake_case_          =   max_depth
											snake_case_          =   max_xpath_tag_unit_embeddings
											snake_case_          =   max_xpath_subs_unit_embeddings
											snake_case_          =   tag_pad_id
											snake_case_          =   subs_pad_id
											snake_case_          =   xpath_unit_hidden_size







from __future__ import annotations





def  __lowerCamelCase     (			UpperCamelCase__       ,							UpperCamelCase__ = None       ,							UpperCamelCase__ = None				):







							'''simple docstring'''






							if start is None:
														snake_case_          =   0

							if end is None:
														snake_case_          =   len(UpperCamelCase__				) - 1

							if start >= end:
														return

							snake_case_          =   (start + end) // 2

							slowsort(UpperCamelCase__       ,							UpperCamelCase__       ,							UpperCamelCase__				)
							slowsort(UpperCamelCase__       ,							mid + 1       ,							UpperCamelCase__				)

							if sequence[end] < sequence[mid]:
														snake_case_    ,   snake_case_          =   sequence[mid], sequence[end]

							slowsort(UpperCamelCase__       ,							UpperCamelCase__       ,							end - 1				)


if __name__ == "__main__":
					from doctest import testmod

					testmod()




