


'''simple docstring'''
from ...configuration_utils import PretrainedConfig
from ...utils import logging


lowerCAmelCase   : Tuple             =				logging.get_logger(__name__)

lowerCAmelCase   : int             =				{
    """weiweishi/roc-bert-base-zh""": """https://huggingface.co/weiweishi/roc-bert-base-zh/resolve/main/config.json""",
}




class        _UpperCamelCase	(    lowercase__):


				'''simple docstring'''


				_snake_case						       =				'''roc_bert'''

				def __init__(     self							,      a_=3_0_5_2_2							,      a_=7_6_8							,      a_=1_2							,      a_=1_2							,      a_=3_0_7_2							,      a_="gelu"							,      a_=0.1							,      a_=0.1							,      a_=5_1_2							,      a_=2							,      a_=0.02							,      a_=1e-1_2							,      a_=True							,      a_=0							,      a_="absolute"							,      a_=None							,      a_=True							,      a_=True							,      a_=7_6_8							,      a_=9_1_0							,      a_=5_1_2							,      a_=2_4_8_5_8							,      a_=True							,      **a_							,      )    ->  Union[str, Any]:
					lowercase						:		str   					=		vocab_size
					lowercase						:		Union[str, Any]   					=		max_position_embeddings
					lowercase						:		Any   					=		hidden_size
					lowercase						:		int   					=		num_hidden_layers
					lowercase						:		Union[str, Any]   					=		num_attention_heads
					lowercase						:		Optional[Any]   					=		intermediate_size
					lowercase						:		Dict   					=		hidden_act
					lowercase						:		Optional[Any]   					=		hidden_dropout_prob
					lowercase						:		Tuple   					=		attention_probs_dropout_prob
					lowercase						:		str   					=		initializer_range
					lowercase						:		List[Any]   					=		type_vocab_size
					lowercase						:		Optional[int]   					=		layer_norm_eps
					lowercase						:		Optional[Any]   					=		use_cache
					lowercase						:		Optional[Any]   					=		enable_pronunciation
					lowercase						:		List[str]   					=		enable_shape
					lowercase						:		List[Any]   					=		pronunciation_embed_dim
					lowercase						:		int   					=		pronunciation_vocab_size
					lowercase						:		Optional[int]   					=		shape_embed_dim
					lowercase						:		Dict   					=		shape_vocab_size
					lowercase						:		Tuple   					=		concat_input
					lowercase						:		Union[str, Any]   					=		position_embedding_type
					lowercase						:		Union[str, Any]   					=		classifier_dropout
					super().__init__(pad_token_id=SCREAMING_SNAKE_CASE_							,      **SCREAMING_SNAKE_CASE_							)




"""simple docstring"""






import warnings

from ...utils import logging
from .image_processing_mobilevit import MobileViTImageProcessor


UpperCAmelCase        =				logging.get_logger(__name__)



class 			lowercase					( lowercase__		):






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





				"""simple docstring"""


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


