


"""simple docstring"""






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


__snake_case		=       logging.get_logger(__name__)

__snake_case		=       {'''ctrl''': '''https://huggingface.co/ctrl/resolve/main/config.json'''}


class     __lowerCamelCase  (					a__				):

     '''simple docstring'''
     A_       :	List[str]    =		'ctrl'
     A_       :	str    =		['past_key_values']
     A_       :	Tuple    =		{
         'max_position_embeddings': 'n_positions',
         'hidden_size': 'n_embd',
         'num_attention_heads': 'n_head',
         'num_hidden_layers': 'n_layer',
     }


     def __init__(      self    ,				__UpperCAmelCase=246534    ,				__UpperCAmelCase=256    ,				__UpperCAmelCase=1280    ,				__UpperCAmelCase=8192    ,				__UpperCAmelCase=48    ,				__UpperCAmelCase=16    ,				__UpperCAmelCase=0.1    ,				__UpperCAmelCase=0.1    ,				__UpperCAmelCase=1e-6    ,				__UpperCAmelCase=0.02    ,				__UpperCAmelCase=True    ,				**__UpperCAmelCase    ,				)       ->							int:
          _a    	=				vocab_size
          _a    	=				n_positions
          _a    	=				n_embd
          _a    	=				n_layer
          _a    	=				n_head
          _a    	=				dff
          _a    	=				resid_pdrop
          _a    	=				embd_pdrop
          _a    	=				layer_norm_epsilon
          _a    	=				initializer_range

          _a    	=				use_cache

          super().__init__(**__UpperCAmelCase							)



"""simple docstring"""






from typing import Any
def       A_   (   _lowerCAmelCase     :					list       ):






     """simple docstring"""

     if not input_list:
          return []
     _a    	=				[input_list.count(_lowerCAmelCase       ) for value in input_list]
     _a    	=				max(_lowerCAmelCase       )  # Gets the maximum count in the input list.
     # Gets values of modes
     return sorted({input_list[i] for i, value in enumerate(_lowerCAmelCase       ) if value == y}       )


if __name__ == "__main__":
   import doctest

   doctest.testmod()