





from __future__ import annotations

from typing import Dict

from ...configuration_utils import PretrainedConfig


_a     :   Dict						=   {
    "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       __A					(					UpperCamelCase_				):

			'''simple docstring'''







			lowerCAmelCase_							  =		"""ernie_m"""
			lowerCAmelCase_							  =		{"""dropout""": """classifier_dropout""", """num_classes""": """num_labels"""}





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



				'''simple docstring'''







				super().__init__(pad_token_id=__a ,						**__a							)
				lowerCamelCase__              =	vocab_size
				lowerCamelCase__              =	hidden_size
				lowerCamelCase__              =	num_hidden_layers
				lowerCamelCase__              =	num_attention_heads
				lowerCamelCase__              =	intermediate_size
				lowerCamelCase__              =	hidden_act
				lowerCamelCase__              =	hidden_dropout_prob
				lowerCamelCase__              =	attention_probs_dropout_prob
				lowerCamelCase__              =	max_position_embeddings
				lowerCamelCase__              =	initializer_range
				lowerCamelCase__              =	layer_norm_eps
				lowerCamelCase__              =	classifier_dropout
				lowerCamelCase__              =	is_decoder
				lowerCamelCase__              =	act_dropout










_a						=   "\n# Transformers 설치 방법\n! pip install transformers datasets\n# 마지막 릴리스 대신 소스에서 설치하려면, 위 명령을 주석으로 바꾸고 아래 명령을 해제하세요.\n# ! pip install git+https://github.com/huggingface/transformers.git\n"

_a						=   [{"type": "code", "content": INSTALL_CONTENT}]
_a						=   {
    "{processor_class}": "FakeProcessorClass",
    "{model_class}": "FakeModelClass",
    "{object_class}": "FakeObjectClass",
}



