
from collections import OrderedDict
from typing import Mapping

from ...configuration_utils import PretrainedConfig
from ...onnx import OnnxConfig
from ...utils import logging


A		:   Optional[Any]			       =    logging.get_logger(__name__)

A		:   List[Any]			       =    {
    '''squeezebert/squeezebert-uncased''': (
        '''https://huggingface.co/squeezebert/squeezebert-uncased/resolve/main/config.json'''
    ),
    '''squeezebert/squeezebert-mnli''': '''https://huggingface.co/squeezebert/squeezebert-mnli/resolve/main/config.json''',
    '''squeezebert/squeezebert-mnli-headless''': (
        '''https://huggingface.co/squeezebert/squeezebert-mnli-headless/resolve/main/config.json'''
    ),
}



class       a_   ( _a						):
			a  : Dict				      =       SQUEEZEBERT_PRETRAINED_CONFIG_ARCHIVE_MAP
			a  : List[Any]				      =       '''squeezebert'''






			def __init__(			self							, __UpperCamelCase=30_522							, __UpperCamelCase=768							, __UpperCamelCase=12							, __UpperCamelCase=12							, __UpperCamelCase=3_072							, __UpperCamelCase="gelu"							, __UpperCamelCase=0.1							, __UpperCamelCase=0.1							, __UpperCamelCase=512							, __UpperCamelCase=2							, __UpperCamelCase=0.02							, __UpperCamelCase=1E-12							, __UpperCamelCase=0							, __UpperCamelCase=768							, __UpperCamelCase=4							, __UpperCamelCase=4							, __UpperCamelCase=4							, __UpperCamelCase=1							, __UpperCamelCase=4							, __UpperCamelCase=4							, **__UpperCamelCase							, ):
									super().__init__(pad_token_id=__UpperCamelCase							, **__UpperCamelCase     )

									_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									=				type_vocab_size
									_lowercase									=				initializer_range
									_lowercase									=				layer_norm_eps
									_lowercase									=				embedding_size
									_lowercase									=				q_groups
									_lowercase									=				k_groups
									_lowercase									=				v_groups
									_lowercase									=				post_attention_groups
									_lowercase									=				intermediate_groups
									_lowercase									=				output_groups







class       a_   ( _a						):






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

def   UpperCamelCase__     (    SCREAMING_SNAKE_CASE_  :  int					)     ->    int:
						return n * (2 * n - 1)




def   UpperCamelCase__     (    SCREAMING_SNAKE_CASE_  :  int					)     ->    bool:
						_lowercase									=				(1 + 24 * n) ** 0.5
						return ((1 + root) / 6) % 1 == 0




def   UpperCamelCase__     (    SCREAMING_SNAKE_CASE_  :  int = 1_44					)     ->    int:
						_lowercase									=				start
						_lowercase									=				hexagonal_num(SCREAMING_SNAKE_CASE_					)
						while not is_pentagonal(SCREAMING_SNAKE_CASE_					):
												n += 1
												_lowercase									=				hexagonal_num(SCREAMING_SNAKE_CASE_					)
						return num


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