





"""simple docstring"""



from collections import OrderedDict
from typing import Mapping

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


a_				=    logging.get_logger(__name__)

a_				=    {
    'google/electra-small-generator': 'https://huggingface.co/google/electra-small-generator/resolve/main/config.json',
    'google/electra-base-generator': 'https://huggingface.co/google/electra-base-generator/resolve/main/config.json',
    'google/electra-large-generator': 'https://huggingface.co/google/electra-large-generator/resolve/main/config.json',
    'google/electra-small-discriminator': (
        'https://huggingface.co/google/electra-small-discriminator/resolve/main/config.json'
    ),
    'google/electra-base-discriminator': (
        'https://huggingface.co/google/electra-base-discriminator/resolve/main/config.json'
    ),
    'google/electra-large-discriminator': (
        'https://huggingface.co/google/electra-large-discriminator/resolve/main/config.json'
    ),
}






class 	__snake_case      (	UpperCAmelCase_  ):





 """simple docstring"""


 _lowerCamelCase				 =  """electra"""

 def __init__(					self      ,		__lowerCamelCase=3_0522      ,		__lowerCamelCase=128      ,		__lowerCamelCase=256      ,		__lowerCamelCase=12      ,		__lowerCamelCase=4      ,		__lowerCamelCase=1024      ,		__lowerCamelCase="gelu"      ,		__lowerCamelCase=0.1      ,		__lowerCamelCase=0.1      ,		__lowerCamelCase=512      ,		__lowerCamelCase=2      ,		__lowerCamelCase=0.0_2      ,		__lowerCamelCase=1e-1_2      ,		__lowerCamelCase="first"      ,		__lowerCamelCase=True      ,		__lowerCamelCase="gelu"      ,		__lowerCamelCase=0.1      ,		__lowerCamelCase=0      ,		__lowerCamelCase="absolute"      ,		__lowerCamelCase=True      ,		__lowerCamelCase=None      ,		**__lowerCamelCase      ,		):



     '''simple docstring'''




     super().__init__(pad_token_id=__lowerCamelCase      ,		**__lowerCamelCase						)

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

     __A					:		int						=  summary_type
     __A					:		Union[str, Any]						=  summary_use_proj
     __A					:		Optional[Any]						=  summary_activation
     __A					:		List[str]						=  summary_last_dropout
     __A					:		List[str]						=  position_embedding_type
     __A					:		Tuple						=  use_cache
     __A					:		Union[str, Any]						=  classifier_dropout






class 	__snake_case      (	UpperCAmelCase_  ):





 """simple docstring"""


 @property
 def       UpperCamelCase__(					self						):



     '''simple docstring'''




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











"""simple docstring"""



def 	__lowercase  (     snake_case_						:						list		)     ->list:



    '''simple docstring'''







    for insert_index, insert_value in enumerate(collection[1:]		):
        __A					:		Any						=  insert_index
        while insert_index >= 0 and insert_value < collection[insert_index]:
            __A					:		List[Any]						=  collection[insert_index]
            insert_index -= 1
        if insert_index != temp_index:
            __A					:		str						=  insert_value
    return collection


if __name__ == "__main__":
       from doctest import testmod

       testmod()

       a_				=    input("""Enter numbers separated by a comma:\n""").strip()
       a_				=    [int(item) for item in user_input.split(""",""")]
       print(f'''{insertion_sort(unsorted) = }''')




