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


SCREAMING_SNAKE_CASE		:     int         =	logging.get_logger(__name__)

SCREAMING_SNAKE_CASE		:     Dict         =	{
    """google/canine-s""": """https://huggingface.co/google/canine-s/resolve/main/config.json""",
    # See all CANINE models at https://huggingface.co/models?filter=canine
}

class        UpperCamelCase						(				a_				):
						a__		:Union[str, Any]      =			'''canine'''





						def __init__(self			,     __UpperCamelCase=768			,     __UpperCamelCase=12			,     __UpperCamelCase=12			,     __UpperCamelCase=3_072			,     __UpperCamelCase="gelu"			,     __UpperCamelCase=0.1			,     __UpperCamelCase=0.1			,     __UpperCamelCase=16_384			,     __UpperCamelCase=16			,     __UpperCamelCase=0.02			,     __UpperCamelCase=1E-1_2			,     __UpperCamelCase=0			,     __UpperCamelCase=0xe_0_0_0			,     __UpperCamelCase=0xe_0_0_1			,     __UpperCamelCase=4			,     __UpperCamelCase=4			,     __UpperCamelCase=8			,     __UpperCamelCase=16_384			,     __UpperCamelCase=128			,     **__UpperCamelCase			,     )				->				int:
												super().__init__(pad_token_id=__SCREAMING_SNAKE_CASE			,     bos_token_id=__SCREAMING_SNAKE_CASE			,     eos_token_id=__SCREAMING_SNAKE_CASE			,     **__SCREAMING_SNAKE_CASE						)

												UpperCamelCase_		:							Optional[Any]  =		max_position_embeddings
												UpperCamelCase_		:							List[str]  =		hidden_size
												UpperCamelCase_		:							Tuple  =		num_hidden_layers
												UpperCamelCase_		:							Optional[Any]  =		num_attention_heads
												UpperCamelCase_		:							int  =		intermediate_size
												UpperCamelCase_		:							str  =		hidden_act
												UpperCamelCase_		:							Any  =		hidden_dropout_prob
												UpperCamelCase_		:							Tuple  =		attention_probs_dropout_prob
												UpperCamelCase_		:							List[Any]  =		initializer_range
												UpperCamelCase_		:							Dict  =		type_vocab_size
												UpperCamelCase_		:							Dict  =		layer_norm_eps

												# Character config:
												UpperCamelCase_		:							Tuple  =		downsampling_rate
												UpperCamelCase_		:							Any  =		upsampling_kernel_size
												UpperCamelCase_		:							List[Any]  =		num_hash_functions
												UpperCamelCase_		:							Tuple  =		num_hash_buckets
												UpperCamelCase_		:							int  =		local_transformer_stride







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()


