



"""simple docstring"""






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


lowerCAmelCase__        =				logging.get_logger(__name__)

lowerCAmelCase__        =				{
    '''studio-ousia/luke-base''': '''https://huggingface.co/studio-ousia/luke-base/resolve/main/config.json''',
    '''studio-ousia/luke-large''': '''https://huggingface.co/studio-ousia/luke-large/resolve/main/config.json''',
}






class        __snake_case       (	_lowercase):
  snake_case__				:   Tuple  			=						"luke"




  def __init__( self     :						List[str]						,					__lowerCAmelCase     :						Optional[Any]=5_0_2_6_7						,					__lowerCAmelCase     :						Any=5_0_0_0_0_0						,					__lowerCAmelCase     :						Optional[int]=7_6_8						,					__lowerCAmelCase     :						Tuple=2_5_6						,					__lowerCAmelCase     :						str=1_2						,					__lowerCAmelCase     :						Any=1_2						,					__lowerCAmelCase     :						int=3_0_7_2						,					__lowerCAmelCase     :						Union[str, Any]="gelu"						,					__lowerCAmelCase     :						str=0.1						,					__lowerCAmelCase     :						Optional[int]=0.1						,					__lowerCAmelCase     :						List[Any]=5_1_2						,					__lowerCAmelCase     :						List[Any]=2						,					__lowerCAmelCase     :						Optional[int]=0.02						,					__lowerCAmelCase     :						Union[str, Any]=1E-12						,					__lowerCAmelCase     :						Optional[int]=True						,					__lowerCAmelCase     :						Tuple=None						,					__lowerCAmelCase     :						Optional[int]=1						,					__lowerCAmelCase     :						Optional[int]=0						,					__lowerCAmelCase     :						Union[str, Any]=2						,					**__lowerCAmelCase     :						List[str]						,					):






         """simple docstring"""






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

         _lowerCamelCase						:				Tuple    			= vocab_size
         _lowerCamelCase						:				Any    			= entity_vocab_size
         _lowerCamelCase						:				List[Any]    			= hidden_size
         _lowerCamelCase						:				Optional[int]    			= entity_emb_size
         _lowerCamelCase						:				int    			= num_hidden_layers
         _lowerCamelCase						:				List[Any]    			= num_attention_heads
         _lowerCamelCase						:				Any    			= hidden_act
         _lowerCamelCase						:				Dict    			= intermediate_size
         _lowerCamelCase						:				Dict    			= hidden_dropout_prob
         _lowerCamelCase						:				int    			= attention_probs_dropout_prob
         _lowerCamelCase						:				int    			= max_position_embeddings
         _lowerCamelCase						:				Optional[int]    			= type_vocab_size
         _lowerCamelCase						:				Union[str, Any]    			= initializer_range
         _lowerCamelCase						:				Optional[Any]    			= layer_norm_eps
         _lowerCamelCase						:				int    			= use_entity_aware_attention
         _lowerCamelCase						:				List[str]    			= classifier_dropout









"""simple docstring"""
from typing import Any



def      __lowerCamelCase   (							a_     :		list							)			->      list[Any]:
      if not input_list:
            return []
      __SCREAMING_SNAKE_CASE   :int						=  [input_list.count(a_							) for value in input_list]
      __SCREAMING_SNAKE_CASE   :str						=  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()