



from __future__ import annotations

from typing import Dict

from ...configuration_utils import PretrainedConfig


_lowercase		:				int      		={
    "susnato/ernie-m-base_pytorch": "https://huggingface.co/susnato/ernie-m-base_pytorch/blob/main/config.json",
    "susnato/ernie-m-large_pytorch": "https://huggingface.co/susnato/ernie-m-large_pytorch/blob/main/config.json",
}

class        snake_case__    (A__		):







						"""simple docstring"""




						__lowerCAmelCase					:List[str]      =					"ernie_m"
						__lowerCAmelCase					:Dict[str, str]      =					{"dropout": "classifier_dropout", "num_classes": "num_labels"}

						def __init__(       self ,       __lowercase = 2_5_0_0_0_2 ,       __lowercase = 7_6_8 ,       __lowercase = 1_2 ,       __lowercase = 1_2 ,       __lowercase = 3_0_7_2 ,       __lowercase = "gelu" ,       __lowercase = 0.1 ,       __lowercase = 0.1 ,       __lowercase = 5_1_4 ,       __lowercase = 0.0_2 ,       __lowercase = 1 ,       __lowercase = 1E-05 ,       __lowercase=None ,       __lowercase=False ,       __lowercase=0.0 ,       **__lowercase ,       ) ->				Any:
									"""simple docstring"""




									super().__init__(pad_token_id=__lowercase ,       **__lowercase  )
									a__       :						List[Any]							=  vocab_size
									a__       :						int							=  hidden_size
									a__       :						List[Any]							=  num_hidden_layers
									a__       :						Tuple							=  num_attention_heads
									a__       :						List[str]							=  intermediate_size
									a__       :						Any							=  hidden_act
									a__       :						str							=  hidden_dropout_prob
									a__       :						Optional[int]							=  attention_probs_dropout_prob
									a__       :						List[str]							=  max_position_embeddings
									a__       :						List[Any]							=  initializer_range
									a__       :						Union[str, Any]							=  layer_norm_eps
									a__       :						Dict							=  classifier_dropout
									a__       :						Dict							=  is_decoder
									a__       :						Union[str, Any]							=  act_dropout









import warnings

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


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

class        snake_case__    (A__		):







						"""simple docstring"""




						def __init__(       self ,       *__lowercase ,       **__lowercase  ) ->				None:
									"""simple docstring"""




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




