


'''simple docstring'''



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


__UpperCAmelCase      :Optional[Any]			    =       logging.get_logger(__name__)

__UpperCAmelCase      :Optional[Any]			    =       {
    "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      a    (		_a	):


     """simple docstring"""






     SCREAMING_SNAKE_CASE	:			Union[str, Any]							       =       "rwkv"
     SCREAMING_SNAKE_CASE	:			Any							       =       {"max_position_embeddings": "context_length"}

     def __init__(    self					:		List[Any]							,			snake_case					:		int=5_0277							,			snake_case					:		Optional[int]=1024							,			snake_case					:		List[str]=4096							,			snake_case					:		Tuple=32							,			snake_case					:		Optional[Any]=None							,			snake_case					:		str=None							,			snake_case					:		List[Any]=1E-5							,			snake_case					:		List[str]=0							,			snake_case					:		str=0							,			snake_case					:		Union[str, Any]=6							,			snake_case					:		Union[str, Any]=False							,			snake_case					:		Dict=True							,			**snake_case					:		Any							,			)						->							int:
          __UpperCAmelCase     :			str  							=      vocab_size
          __UpperCAmelCase     :			List[Any]  							=      context_length
          __UpperCAmelCase     :			Union[str, Any]  							=      hidden_size
          __UpperCAmelCase     :			str  							=      num_hidden_layers
          __UpperCAmelCase     :			Union[str, Any]  							=      attention_hidden_size if attention_hidden_size is not None else hidden_size
          __UpperCAmelCase     :			Optional[Any]  							=      intermediate_size if intermediate_size is not None else 4 * hidden_size
          __UpperCAmelCase     :			Optional[int]  							=      layer_norm_epsilon
          __UpperCAmelCase     :			Optional[int]  							=      rescale_every
          __UpperCAmelCase     :			Optional[Any]  							=      use_cache

          __UpperCAmelCase     :			Union[str, Any]  							=      bos_token_id
          __UpperCAmelCase     :			Optional[int]  							=      eos_token_id

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



'''simple docstring'''



def      _a     (						_lowercase :     List[str]  ):





     '''simple docstring'''






     __UpperCAmelCase     :			str  							=      1
     __UpperCAmelCase     :			List[str]  							=      2
     while i * i <= n:
          __UpperCAmelCase     :			Optional[Any]  							=      0
          while n % i == 0:
               n //= i
               multiplicity += 1
          n_divisors *= multiplicity + 1
          i += 1
     if n > 1:
          n_divisors *= 2
     return n_divisors




def      _a     (						):





     '''simple docstring'''






     __UpperCAmelCase     :			Optional[Any]  							=      1
     __UpperCAmelCase     :			List[Any]  							=      1

     while True:
          i += 1
          t_num += i

          if count_divisors(_lowercase  ) > 500:
               break

     return t_num


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