



from ...configuration_utils import PretrainedConfig
from ...utils import logging


UpperCAmelCase_          =				logging.get_logger(__name__)

UpperCAmelCase_          =				{
    "uw-madison/yoso-4096": "https://huggingface.co/uw-madison/yoso-4096/resolve/main/config.json",
    # See all YOSO models at https://huggingface.co/models?filter=yoso
}





class 		UpperCAmelCase    (    snake_case_					):
   SCREAMING_SNAKE_CASE__					      =  '''yoso'''





   def __init__(						self							,  _lowerCAmelCase=50_265							,  _lowerCAmelCase=768							,  _lowerCAmelCase=12							,  _lowerCAmelCase=12							,  _lowerCAmelCase=3_072							,  _lowerCAmelCase="gelu"							,  _lowerCAmelCase=0.1							,  _lowerCAmelCase=0.1							,  _lowerCAmelCase=4_096							,  _lowerCAmelCase=1							,  _lowerCAmelCase=0.02							,  _lowerCAmelCase=1E-12							,  _lowerCAmelCase="absolute"							,  _lowerCAmelCase=True							,  _lowerCAmelCase=9							,  _lowerCAmelCase=64							,  _lowerCAmelCase=None							,  _lowerCAmelCase=True							,  _lowerCAmelCase=True							,  _lowerCAmelCase=1							,  _lowerCAmelCase=0							,  _lowerCAmelCase=2							,  **_lowerCAmelCase							,  ):
         super().__init__(pad_token_id=_lowerCAmelCase							,  bos_token_id=_lowerCAmelCase							,  eos_token_id=_lowerCAmelCase							,  **_lowerCAmelCase      )

         _lowerCAmelCase			      =	vocab_size
         _lowerCAmelCase			      =	max_position_embeddings
         _lowerCAmelCase			      =	hidden_size
         _lowerCAmelCase			      =	num_hidden_layers
         _lowerCAmelCase			      =	num_attention_heads
         _lowerCAmelCase			      =	intermediate_size
         _lowerCAmelCase			      =	hidden_act
         _lowerCAmelCase			      =	hidden_dropout_prob
         _lowerCAmelCase			      =	attention_probs_dropout_prob
         _lowerCAmelCase			      =	initializer_range
         _lowerCAmelCase			      =	type_vocab_size
         _lowerCAmelCase			      =	layer_norm_eps
         _lowerCAmelCase			      =	position_embedding_type
         _lowerCAmelCase			      =	use_expectation
         _lowerCAmelCase			      =	hash_code_len
         _lowerCAmelCase			      =	num_hash
         _lowerCAmelCase			      =	conv_window
         _lowerCAmelCase			      =	use_fast_hash
         _lowerCAmelCase			      =	lsh_backward




def 						_lowerCAmelCase    (					__lowerCamelCase :  list  ):



 """simple docstring"""





 if len(__lowerCamelCase  ) <= 1:
  return data
 else:
  return [
      *quick_sort([e for e in data[1:] if e <= data[0]]  ),
      data[0],
      *quick_sort([e for e in data[1:] if e > data[0]]  ),
  ]


if __name__ == "__main__":
      import doctest

      doctest.testmod()






