





'''simple docstring'''

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


lowercase__						:      Union[str, Any]	=    logging.get_logger(__name__)

lowercase__						:      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     __lowerCAmelCase					(   __magic_name__			):






							"""simple docstring"""
							_snake_case     :					str						    =   'markuplm'





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

												'''simple docstring'''




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










'''simple docstring'''

import warnings

from ...utils import logging
from .image_processing_owlvit import OwlViTImageProcessor


lowercase__						:      Optional[Any]	=    logging.get_logger(__name__)
class     __lowerCAmelCase					(   __magic_name__			):






       """simple docstring"""





       def __init__(							self       :		List[Any]	,			*lowerCAmelCase__       :		List[str]	,			**lowerCAmelCase__       :		List[str]					)   ->					None:

            '''simple docstring'''




            warnings.warn(
                '''The class OwlViTFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please'''
                ''' use OwlViTImageProcessor instead.'''	,			lowerCAmelCase__	,			)
            super().__init__(*lowerCAmelCase__	,			**lowerCAmelCase__					)



