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


SCREAMING_SNAKE_CASE			:						List[str]				  =		logging.get_logger(__name__)

SCREAMING_SNAKE_CASE			:						Optional[Any]				  =		{"""ctrl""": """https://huggingface.co/ctrl/resolve/main/config.json"""}
class  A_			(							a_			):
  _SCREAMING_SNAKE_CASE     					=      """ctrl"""
  _SCREAMING_SNAKE_CASE     					=      ["""past_key_values"""]
  _SCREAMING_SNAKE_CASE     					=      {
      """max_position_embeddings""": """n_positions""",
      """hidden_size""": """n_embd""",
      """num_attention_heads""": """n_head""",
      """num_hidden_layers""": """n_layer""",
  }

  def __init__(		self			:   Any  ,				__SCREAMING_SNAKE_CASE			:   Optional[int]=24_65_34  ,				__SCREAMING_SNAKE_CASE			:   int=2_56  ,				__SCREAMING_SNAKE_CASE			:   Union[str, Any]=12_80  ,				__SCREAMING_SNAKE_CASE			:   List[Any]=81_92  ,				__SCREAMING_SNAKE_CASE			:   Dict=48  ,				__SCREAMING_SNAKE_CASE			:   Optional[int]=16  ,				__SCREAMING_SNAKE_CASE			:   Optional[Any]=0.1  ,				__SCREAMING_SNAKE_CASE			:   str=0.1  ,				__SCREAMING_SNAKE_CASE			:   Any=1E-6  ,				__SCREAMING_SNAKE_CASE			:   Optional[Any]=0.02  ,				__SCREAMING_SNAKE_CASE			:   Optional[int]=True  ,				**__SCREAMING_SNAKE_CASE			:   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__(**__SCREAMING_SNAKE_CASE							)



from typing import Any



def 	__A		(      _A       ):



 """simple docstring"""


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


if __name__ == "__main__":
  import doctest

  doctest.testmod()


