





"""simple docstring"""




from .glue import glue_convert_examples_to_features, glue_output_modes, glue_processors, glue_tasks_num_labels
from .squad import SquadExample, SquadFeatures, SquadVaProcessor, SquadVaProcessor, squad_convert_examples_to_features
from .utils import DataProcessor, InputExample, InputFeatures, SingleSentenceClassificationProcessor
from .xnli import xnli_output_modes, xnli_processors, xnli_tasks_num_labels












from __future__ import annotations

from typing import Dict

from ...configuration_utils import PretrainedConfig


UpperCAmelCase__  :     Optional[Any]   			={
    '''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       (  a      ):
				__A								=			"""ernie_m"""
				__A								=			{"dropout": "classifier_dropout", "num_classes": "num_labels"}


				def __init__(						self				,	UpperCAmelCase_ = 250002				,	UpperCAmelCase_ = 768				,	UpperCAmelCase_ = 12				,	UpperCAmelCase_ = 12				,	UpperCAmelCase_ = 3072				,	UpperCAmelCase_ = "gelu"				,	UpperCAmelCase_ = 0.1				,	UpperCAmelCase_ = 0.1				,	UpperCAmelCase_ = 514				,	UpperCAmelCase_ = 0.0_2				,	UpperCAmelCase_ = 1				,	UpperCAmelCase_ = 1E-05				,	UpperCAmelCase_=None				,	UpperCAmelCase_=False				,	UpperCAmelCase_=0.0				,	**UpperCAmelCase_				,	):
								super().__init__(pad_token_id=UpperCAmelCase_				,	**UpperCAmelCase_							)
								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





