





from collections import OrderedDict
from typing import Mapping

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


UpperCAmelCase_   				=  logging.get_logger(__name__)

UpperCAmelCase_   				=  {
    """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       UpperCamelCase_		(	_a       ):
					lowerCAmelCase_				=						SQUEEZEBERT_PRETRAINED_CONFIG_ARCHIVE_MAP
					lowerCAmelCase_				=						"""squeezebert"""




					def __init__(		self					,    lowerCAmelCase_=3_0522					,    lowerCAmelCase_=768					,    lowerCAmelCase_=12					,    lowerCAmelCase_=12					,    lowerCAmelCase_=3072					,    lowerCAmelCase_="gelu"					,    lowerCAmelCase_=0.1					,    lowerCAmelCase_=0.1					,    lowerCAmelCase_=512					,    lowerCAmelCase_=2					,    lowerCAmelCase_=0.02					,    lowerCAmelCase_=1E-12					,    lowerCAmelCase_=0					,    lowerCAmelCase_=768					,    lowerCAmelCase_=4					,    lowerCAmelCase_=4					,    lowerCAmelCase_=4					,    lowerCAmelCase_=1					,    lowerCAmelCase_=4					,    lowerCAmelCase_=4					,    **lowerCAmelCase_					,    )		->				List[str]:
										super().__init__(pad_token_id=__UpperCAmelCase					,    **__UpperCAmelCase	)

										_snake_case						=					vocab_size
										_snake_case						=					hidden_size
										_snake_case						=					num_hidden_layers
										_snake_case						=					num_attention_heads
										_snake_case						=					hidden_act
										_snake_case						=					intermediate_size
										_snake_case						=					hidden_dropout_prob
										_snake_case						=					attention_probs_dropout_prob
										_snake_case						=					max_position_embeddings
										_snake_case						=					type_vocab_size
										_snake_case						=					initializer_range
										_snake_case						=					layer_norm_eps
										_snake_case						=					embedding_size
										_snake_case						=					q_groups
										_snake_case						=					k_groups
										_snake_case						=					v_groups
										_snake_case						=					post_attention_groups
										_snake_case						=					intermediate_groups
										_snake_case						=					output_groups





class       UpperCamelCase_		(	_a       ):




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







"""simple docstring"""







def 	lowercase     (							A_ = 100    ,  A_ = 100			)-> int:
  '''simple docstring'''







  return max(
      sum(int(A_			) for x in str(base**power			)			)
      for base in range(A_			)
      for power in range(A_			)			)


# Tests
if __name__ == "__main__":
 import doctest

 doctest.testmod()






