"""simple docstring"""


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


lowerCAmelCase_:       str			     =       logging.get_logger(__name__)

lowerCAmelCase_:       Any			     =       {
    '''facebook/opt-125m''': '''https://huggingface.co/facebook/opt-125m/blob/main/config.json''',
    '''facebook/opt-350m''': '''https://huggingface.co/facebook/opt-350m/blob/main/config.json''',
    '''facebook/opt-1.3b''': '''https://huggingface.co/facebook/opt-1.3b/blob/main/config.json''',
    '''facebook/opt-2.7b''': '''https://huggingface.co/facebook/opt-2.7b/blob/main/config.json''',
    '''facebook/opt-6.7b''': '''https://huggingface.co/facebook/opt-6.7b/blob/main/config.json''',
    '''facebook/opt-13b''': '''https://huggingface.co/facebook/opt-13b/blob/main/config.json''',
}






class  a__     ( _a						):
   snake_case_				=   "opt"
   snake_case_				=   ["past_key_values"]


   def __init__(  self,					_UpperCAmelCase=5_0272,					_UpperCAmelCase=768,					_UpperCAmelCase=12,					_UpperCAmelCase=3072,					_UpperCAmelCase=2048,					_UpperCAmelCase=True,					_UpperCAmelCase=False,					_UpperCAmelCase=None,					_UpperCAmelCase=0.1,					_UpperCAmelCase=0.0,					_UpperCAmelCase=12,					_UpperCAmelCase="relu",					_UpperCAmelCase=0.0,					_UpperCAmelCase=0.02,					_UpperCAmelCase=True,					_UpperCAmelCase=1,					_UpperCAmelCase=2,					_UpperCAmelCase=2,					_UpperCAmelCase=True,					_UpperCAmelCase=True,					**_UpperCAmelCase,					):
        '''simple docstring'''



        super().__init__(
            pad_token_id=_SCREAMING_SNAKE_CASE,					bos_token_id=_SCREAMING_SNAKE_CASE,					eos_token_id=_SCREAMING_SNAKE_CASE,					**_SCREAMING_SNAKE_CASE,					)
        lowercase__								=				vocab_size
        lowercase__								=				max_position_embeddings
        lowercase__								=				num_attention_heads
        lowercase__								=				word_embed_proj_dim if word_embed_proj_dim is not None else hidden_size
        lowercase__								=				ffn_dim
        lowercase__								=				hidden_size
        lowercase__								=				num_hidden_layers
        lowercase__								=				dropout
        lowercase__								=				attention_dropout
        lowercase__								=				activation_function
        lowercase__								=				init_std
        lowercase__								=				layerdrop
        lowercase__								=				use_cache
        lowercase__								=				do_layer_norm_before
        # We keep these variables at `True` for backward compatibility.
        lowercase__								=				enable_bias
        lowercase__								=				layer_norm_elementwise_affine

        # Note that the only purpose of `_remove_final_layer_norm` is to keep backward compatibility
        # with checkpoints that have been fine-tuned before transformers v4.20.1
        # see https://github.com/facebookresearch/metaseq/pull/164
        lowercase__								=				_remove_final_layer_norm





"""simple docstring"""







from collections import Counter



def       A__    (	lowercase_     :	list[int]						)  ->							int:
   return sum(socks_by_color // 2 for socks_by_color in Counter(lowercase_						).values()						)


if __name__ == "__main__":
     import doctest

     doctest.testmod()

     _SCREAMING_SNAKE_CASE	:		int   =   [int(x) for x in input('''Enter socks by color :''').rstrip().split()]
     print(F"sock_merchant({colors}) = {sock_merchant(colors)}")






