



"""simple docstring"""




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


_lowerCAmelCase    : List[Any]							=							logging.get_logger(__name__)

_lowerCAmelCase    : Tuple							=							{
    "RWKV/rwkv-4-169m-pile": "https://huggingface.co/RWKV/rwkv-4-169m-pile/resolve/main/config.json",
    "RWKV/rwkv-4-430m-pile": "https://huggingface.co/RWKV/rwkv-4-430m-pile/resolve/main/config.json",
    "RWKV/rwkv-4-1b5-pile": "https://huggingface.co/RWKV/rwkv-4-1b5-pile/resolve/main/config.json",
    "RWKV/rwkv-4-3b-pile": "https://huggingface.co/RWKV/rwkv-4-3b-pile/resolve/main/config.json",
    "RWKV/rwkv-4-7b-pile": "https://huggingface.co/RWKV/rwkv-4-7b-pile/resolve/main/config.json",
    "RWKV/rwkv-4-14b-pile": "https://huggingface.co/RWKV/rwkv-4-14b-pile/resolve/main/config.json",
    "RWKV/rwkv-raven-1b5": "https://huggingface.co/RWKV/rwkv-raven-1b5/resolve/main/config.json",
    "RWKV/rwkv-raven-3b": "https://huggingface.co/RWKV/rwkv-raven-3b/resolve/main/config.json",
    "RWKV/rwkv-raven-7b": "https://huggingface.co/RWKV/rwkv-raven-7b/resolve/main/config.json",
    "RWKV/rwkv-raven-14b": "https://huggingface.co/RWKV/rwkv-raven-14b/resolve/main/config.json",
}






class      UpperCAmelCase_  (    _UpperCamelCase						):
      __SCREAMING_SNAKE_CASE						:       str								=			'rwkv'
      __SCREAMING_SNAKE_CASE						:       str								=			{'max_position_embeddings': 'context_length'}



      def __init__(					self					:     Any					,     A					:     Dict=5_0_2_7_7					,     A					:     Tuple=1_0_2_4					,     A					:     Tuple=4_0_9_6					,     A					:     Optional[Any]=3_2					,     A					:     Optional[Any]=None					,     A					:     Tuple=None					,     A					:     List[str]=1e-5					,     A					:     Optional[Any]=0					,     A					:     Optional[int]=0					,     A					:     Union[str, Any]=6					,     A					:     Tuple=False					,     A					:     int=True					,     **A					:     int					,     ):
           _UpperCAmelCase      :     List[Any]        =   vocab_size
           _UpperCAmelCase      :     Optional[Any]        =   context_length
           _UpperCAmelCase      :     Tuple        =   hidden_size
           _UpperCAmelCase      :     Tuple        =   num_hidden_layers
           _UpperCAmelCase      :     List[Any]        =   attention_hidden_size if attention_hidden_size is not None else hidden_size
           _UpperCAmelCase      :     List[Any]        =   intermediate_size if intermediate_size is not None else 4 * hidden_size
           _UpperCAmelCase      :     Tuple        =   layer_norm_epsilon
           _UpperCAmelCase      :     List[str]        =   rescale_every
           _UpperCAmelCase      :     str        =   use_cache

           _UpperCAmelCase      :     Union[str, Any]        =   bos_token_id
           _UpperCAmelCase      :     Union[str, Any]        =   eos_token_id

           super().__init__(
               tie_word_embeddings=A					,     bos_token_id=A					,     eos_token_id=A					,     **A						)





"""simple docstring"""




def 						__snake_case						(				SCREAMING_SNAKE_CASE__     :						Dict=28_123    )  ->       List[str]:





     '''simple docstring'''

     _UpperCAmelCase      :     List[Any]        =   [1] * (limit + 1)

     for i in range(2						,  int(limit**0.5    ) + 1    ):
          sum_divs[i * i] += i
          for k in range(i + 1						,  limit // i + 1    ):
               sum_divs[k * i] += k + i

     _UpperCAmelCase      :     Any        =   set()
     _UpperCAmelCase      :     List[str]        =   0

     for n in range(1						,  limit + 1    ):
          if sum_divs[n] > n:
               abundants.add(SCREAMING_SNAKE_CASE__    )

          if not any((n - a in abundants) for a in abundants    ):
               res += n

     return res


if __name__ == "__main__":
 print(solution())
