





from collections import OrderedDict
from typing import Mapping

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


UpperCAmelCase	:	List[str]		     =       {
    """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 				__lowerCAmelCase       (    UpperCamelCase__):
      _lowercase				:					List[str]						=			"""albert"""







      def __init__(    self		,      lowerCAmelCase__=3_0_0_0_0		,      lowerCAmelCase__=1_2_8		,      lowerCAmelCase__=4_0_9_6		,      lowerCAmelCase__=1_2		,      lowerCAmelCase__=1		,      lowerCAmelCase__=6_4		,      lowerCAmelCase__=1_6_3_8_4		,      lowerCAmelCase__=1		,      lowerCAmelCase__="gelu_new"		,      lowerCAmelCase__=0		,      lowerCAmelCase__=0		,      lowerCAmelCase__=5_1_2		,      lowerCAmelCase__=2		,      lowerCAmelCase__=0.02		,      lowerCAmelCase__=1E-12		,      lowerCAmelCase__=0.1		,      lowerCAmelCase__="absolute"		,      lowerCAmelCase__=0		,      lowerCAmelCase__=2		,      lowerCAmelCase__=3		,      **lowerCAmelCase__		,      )   ->						int:



        '''simple docstring'''




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

        a__	:					str										=vocab_size
        a__	:					Optional[int]										=embedding_size
        a__	:					Optional[Any]										=hidden_size
        a__	:					List[str]										=num_hidden_layers
        a__	:					Any										=num_hidden_groups
        a__	:					int										=num_attention_heads
        a__	:					int										=inner_group_num
        a__	:					List[str]										=hidden_act
        a__	:					Tuple										=intermediate_size
        a__	:					List[Any]										=hidden_dropout_prob
        a__	:					List[str]										=attention_probs_dropout_prob
        a__	:					str										=max_position_embeddings
        a__	:					str										=type_vocab_size
        a__	:					List[str]										=initializer_range
        a__	:					List[Any]										=layer_norm_eps
        a__	:					Optional[Any]										=classifier_dropout_prob
        a__	:					Tuple										=position_embedding_type







class 				__lowerCAmelCase       (    UpperCamelCase__):







      @property
      def    _lowercase  (    self							)   ->						Mapping[str, Mapping[int, str]]:



        '''simple docstring'''




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












"""simple docstring"""




def     a__ (				snake_case__				)						->					bool:
			lowerCamelCase			      =					(1 + 24 * n) ** 0.5
			return ((1 + root) / 6) % 1 == 0



def     a__ (				snake_case__ = 50_00				)						->					int:
			lowerCamelCase			      =					[(i * (3 * i - 1)) // 2 for i in range(1       , snake_case__				)]
			for i, pentagonal_i in enumerate(snake_case__				):
						for j in range(snake_case__       , len(snake_case__				)				):
									lowerCamelCase			      =					pentagonal_nums[j]
									lowerCamelCase			      =					pentagonal_i + pentagonal_j
									lowerCamelCase			      =					pentagonal_j - pentagonal_i
									if is_pentagonal(snake_case__				) and is_pentagonal(snake_case__				):
												return b

			return -1


if __name__ == "__main__":
					print(F"""{solution() = }""")



