

from ... import PretrainedConfig


lowerCamelCase      				=     {
    '''sijunhe/nezha-cn-base''': '''https://huggingface.co/sijunhe/nezha-cn-base/resolve/main/config.json''',
}





class     snake_case_			(				_a							):


							"""simple docstring"""





							__UpperCAmelCase       =NEZHA_PRETRAINED_CONFIG_ARCHIVE_MAP
							__UpperCAmelCase       ="""nezha"""




							def __init__( self					,						_A=2_1_1_2_8					,						_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=6_4					,						_A=2					,						_A=0.02					,						_A=1e-1_2					,						_A=0.1					,						_A=0					,						_A=2					,						_A=3					,						_A=True					,						**_A					,						):
												super().__init__(pad_token_id=_A					,						bos_token_id=_A					,						eos_token_id=_A					,						**_A							)

												__lowerCAmelCase					=							vocab_size
												__lowerCAmelCase					=							hidden_size
												__lowerCAmelCase					=							num_hidden_layers
												__lowerCAmelCase					=							num_attention_heads
												__lowerCAmelCase					=							hidden_act
												__lowerCAmelCase					=							intermediate_size
												__lowerCAmelCase					=							hidden_dropout_prob
												__lowerCAmelCase					=							attention_probs_dropout_prob
												__lowerCAmelCase					=							max_position_embeddings
												__lowerCAmelCase					=							max_relative_position
												__lowerCAmelCase					=							type_vocab_size
												__lowerCAmelCase					=							initializer_range
												__lowerCAmelCase					=							layer_norm_eps
												__lowerCAmelCase					=							classifier_dropout
												__lowerCAmelCase					=							use_cache









import warnings

from ...utils import logging
from .image_processing_poolformer import PoolFormerImageProcessor


lowerCamelCase      				=     logging.get_logger(__name__)





class     snake_case_			(				_a							):


							"""simple docstring"""





							def __init__( self					,						*_A					,						**_A							):
												warnings.warn(
												    'The class PoolFormerFeatureExtractor is deprecated and will be removed in version 5 of Transformers.'
												    ' Please use PoolFormerImageProcessor instead.'					,						_A					,						)
												super().__init__(*_A					,						**_A							)






