



"""simple docstring"""
from ... import PretrainedConfig


UpperCAmelCase						:		Union[str, Any]			= {
    "sijunhe/nezha-cn-base": "https://huggingface.co/sijunhe/nezha-cn-base/resolve/main/config.json",
}


class    SCREAMING_SNAKE_CASE__ (							__UpperCAmelCase   ):
				lowercase__      =   NEZHA_PRETRAINED_CONFIG_ARCHIVE_MAP
				lowercase__      =   "nezha"

				def __init__(				self			:				Optional[Any] ,  lowerCAmelCase_			:				List[str]=2_1_1_2_8 ,  lowerCAmelCase_			:				int=7_6_8 ,  lowerCAmelCase_			:				Union[str, Any]=1_2 ,  lowerCAmelCase_			:				str=1_2 ,  lowerCAmelCase_			:				Tuple=3_0_7_2 ,  lowerCAmelCase_			:				List[Any]="gelu" ,  lowerCAmelCase_			:				Any=0.1 ,  lowerCAmelCase_			:				Dict=0.1 ,  lowerCAmelCase_			:				str=5_1_2 ,  lowerCAmelCase_			:				Any=6_4 ,  lowerCAmelCase_			:				str=2 ,  lowerCAmelCase_			:				List[Any]=0.02 ,  lowerCAmelCase_			:				Any=1E-12 ,  lowerCAmelCase_			:				Optional[int]=0.1 ,  lowerCAmelCase_			:				Tuple=0 ,  lowerCAmelCase_			:				Union[str, Any]=2 ,  lowerCAmelCase_			:				Optional[Any]=3 ,  lowerCAmelCase_			:				Optional[Any]=True ,  **lowerCAmelCase_			:				Optional[Any] ,  ):







						"""simple docstring"""







						super().__init__(pad_token_id=lowerCAmelCase_ ,  bos_token_id=lowerCAmelCase_ ,  eos_token_id=lowerCAmelCase_ ,  **lowerCAmelCase_)

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






"""simple docstring"""
from typing import TYPE_CHECKING

from ...utils import _LazyModule


UpperCAmelCase						:		List[Any]			= {"tokenization_bertweet": ["BertweetTokenizer"]}


if TYPE_CHECKING:
       from .tokenization_bertweet import BertweetTokenizer

else:
       import sys

       UpperCAmelCase						:		Tuple			= _LazyModule(__name__, globals()["__file__"], _import_structure, module_spec=__spec__)

