





from collections import OrderedDict
from typing import Mapping

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


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

lowerCAmelCase							:       Any					 =	{
    'YituTech/conv-bert-base': 'https://huggingface.co/YituTech/conv-bert-base/resolve/main/config.json',
    'YituTech/conv-bert-medium-small': (
        'https://huggingface.co/YituTech/conv-bert-medium-small/resolve/main/config.json'
    ),
    'YituTech/conv-bert-small': 'https://huggingface.co/YituTech/conv-bert-small/resolve/main/config.json',
    # See all ConvBERT models at https://huggingface.co/models?filter=convbert
}





class 				a			(      snake_case_			):
				SCREAMING_SNAKE_CASE__     :   Union[str, Any]		      =     '''convbert'''






				def __init__(  self			, _lowerCAmelCase=30522			, _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=1			, _lowerCAmelCase=0			, _lowerCAmelCase=2			, _lowerCAmelCase=768			, _lowerCAmelCase=2			, _lowerCAmelCase=9			, _lowerCAmelCase=1			, _lowerCAmelCase=None			, **_lowerCAmelCase			, ):

										"""simple docstring"""




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

										__SCREAMING_SNAKE_CASE:				Optional[int]           =   vocab_size
										__SCREAMING_SNAKE_CASE:				Tuple           =   hidden_size
										__SCREAMING_SNAKE_CASE:				Tuple           =   num_hidden_layers
										__SCREAMING_SNAKE_CASE:				Optional[int]           =   num_attention_heads
										__SCREAMING_SNAKE_CASE:				Dict           =   intermediate_size
										__SCREAMING_SNAKE_CASE:				List[Any]           =   hidden_act
										__SCREAMING_SNAKE_CASE:				Union[str, Any]           =   hidden_dropout_prob
										__SCREAMING_SNAKE_CASE:				Optional[int]           =   attention_probs_dropout_prob
										__SCREAMING_SNAKE_CASE:				Dict           =   max_position_embeddings
										__SCREAMING_SNAKE_CASE:				Tuple           =   type_vocab_size
										__SCREAMING_SNAKE_CASE:				int           =   initializer_range
										__SCREAMING_SNAKE_CASE:				int           =   layer_norm_eps
										__SCREAMING_SNAKE_CASE:				Optional[int]           =   embedding_size
										__SCREAMING_SNAKE_CASE:				Any           =   head_ratio
										__SCREAMING_SNAKE_CASE:				Optional[Any]           =   conv_kernel_size
										__SCREAMING_SNAKE_CASE:				Tuple           =   num_groups
										__SCREAMING_SNAKE_CASE:				List[str]           =   classifier_dropout





class 				a			(      snake_case_			):






				@property
				def 			snake_case_    (  self					):

										"""simple docstring"""




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







'''simple docstring'''
from math import ceil


def       _lowercase							(					UpperCamelCase__							:       int = 1001      ):
 __A	:		int	  =      1

 for i in range(1,					int(ceil(n / 2.0      )      )      ):
  __A	:		Any	  =      2 * i + 1
  __A	:		List[str]	  =      2 * i
  __A	:		str	  =      total + 4 * odd**2 - 6 * even

 return total


if __name__ == "__main__":
 import sys

 if len(sys.argv) == 1:
  print(solution())
 else:
  try:
   UpperCAmelCase_			:  int										=   int(sys.argv[1])
   print(solution(n))
  except ValueError:
   print('Invalid entry - please enter a number')






