



from collections import OrderedDict
from typing import Mapping

from ...configuration_utils import PretrainedConfig
from ...onnx import OnnxConfig


__lowerCamelCase     :							int  							=				{
    "albert-base-v1": "https://huggingface.co/albert-base-v1/resolve/main/config.json",
    "albert-large-v1": "https://huggingface.co/albert-large-v1/resolve/main/config.json",
    "albert-xlarge-v1": "https://huggingface.co/albert-xlarge-v1/resolve/main/config.json",
    "albert-xxlarge-v1": "https://huggingface.co/albert-xxlarge-v1/resolve/main/config.json",
    "albert-base-v2": "https://huggingface.co/albert-base-v2/resolve/main/config.json",
    "albert-large-v2": "https://huggingface.co/albert-large-v2/resolve/main/config.json",
    "albert-xlarge-v2": "https://huggingface.co/albert-xlarge-v2/resolve/main/config.json",
    "albert-xxlarge-v2": "https://huggingface.co/albert-xxlarge-v2/resolve/main/config.json",
}





class  __magic_name__   (							A__						):
		lowercase      :       Tuple          ='''albert'''






		def __init__(						self      :     int				,		UpperCamelCase__      :     List[Any]=3_00_00				,		UpperCamelCase__      :     Tuple=1_28				,		UpperCamelCase__      :     str=40_96				,		UpperCamelCase__      :     Optional[Any]=12				,		UpperCamelCase__      :     List[Any]=1				,		UpperCamelCase__      :     Tuple=64				,		UpperCamelCase__      :     List[str]=1_63_84				,		UpperCamelCase__      :     Optional[Any]=1				,		UpperCamelCase__      :     List[str]="gelu_new"				,		UpperCamelCase__      :     Dict=0				,		UpperCamelCase__      :     Any=0				,		UpperCamelCase__      :     int=5_12				,		UpperCamelCase__      :     Optional[int]=2				,		UpperCamelCase__      :     Union[str, Any]=0.02				,		UpperCamelCase__      :     Dict=1e-1_2				,		UpperCamelCase__      :     Dict=0.1				,		UpperCamelCase__      :     Dict="absolute"				,		UpperCamelCase__      :     List[str]=0				,		UpperCamelCase__      :     Optional[Any]=2				,		UpperCamelCase__      :     Union[str, Any]=3				,		**UpperCamelCase__      :     Dict				,		)				->					int:
								'''simple docstring'''







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

								UpperCAmelCase         =     vocab_size
								UpperCAmelCase         =     embedding_size
								UpperCAmelCase         =     hidden_size
								UpperCAmelCase         =     num_hidden_layers
								UpperCAmelCase         =     num_hidden_groups
								UpperCAmelCase         =     num_attention_heads
								UpperCAmelCase         =     inner_group_num
								UpperCAmelCase         =     hidden_act
								UpperCAmelCase         =     intermediate_size
								UpperCAmelCase         =     hidden_dropout_prob
								UpperCAmelCase         =     attention_probs_dropout_prob
								UpperCAmelCase         =     max_position_embeddings
								UpperCAmelCase         =     type_vocab_size
								UpperCAmelCase         =     initializer_range
								UpperCAmelCase         =     layer_norm_eps
								UpperCAmelCase         =     classifier_dropout_prob
								UpperCAmelCase         =     position_embedding_type





class  __magic_name__   (							A__						):






		@property
		def SCREAMING_SNAKE_CASE_			(						self      :     List[Any]      )				->					Mapping[str, Mapping[int, str]]:
								'''simple docstring'''







								if self.task == "multiple-choice":
														UpperCAmelCase         =     {0: "batch", 1: "choice", 2: "sequence"}
								else:
														UpperCAmelCase         =     {0: "batch", 1: "sequence"}
								return OrderedDict(
								    [
								        ("input_ids", dynamic_axis),
								        ("attention_mask", dynamic_axis),
								        ("token_type_ids", dynamic_axis),
								    ]      )








from ..utils import DummyObject, requires_backends





class  __magic_name__   (							metaclass=A__						):
		lowercase      :       int          =['''note_seq''']






		def __init__(						self      :     List[Any]				,		*UpperCamelCase__      :     Tuple				,		**UpperCamelCase__      :     Dict      )				->					int:
								'''simple docstring'''







								requires_backends(self				,		["note_seq"]      )






		@classmethod
		def SCREAMING_SNAKE_CASE_			(						cls      :     List[str]				,		*UpperCamelCase__      :     Dict				,		**UpperCamelCase__      :     str      )				->					Optional[int]:
								'''simple docstring'''







								requires_backends(cls				,		["note_seq"]      )







		@classmethod
		def SCREAMING_SNAKE_CASE_			(						cls      :     List[Any]				,		*UpperCamelCase__      :     Optional[int]				,		**UpperCamelCase__      :     Optional[Any]      )				->					Optional[int]:
								'''simple docstring'''







								requires_backends(cls				,		["note_seq"]      )



