



# Function to print upper half of diamond (pyramid)


def 	UpperCAmelCase__      (      UpperCAmelCase__ :Dict					):






 '''simple docstring'''

 for i in range(0 ,					UpperCAmelCase__					):
  for _ in range(0 ,					n - i - 1					):  # printing spaces
   print(" " ,					end=""					)
  for _ in range(0 ,					i + 1					):  # printing stars
   print("* " ,					end=""					)
  print()


def 	UpperCAmelCase__      (      UpperCAmelCase__ :str					):






 '''simple docstring'''

 for i in range(UpperCAmelCase__ ,					0 ,					-1					):
  for _ in range(UpperCAmelCase__ ,					0 ,					-1					):  # printing stars
   print("* " ,					end=""					)
  print()
  for _ in range(n - i + 1 ,					0 ,					-1					):  # printing spaces
   print(" " ,					end=""					)


def 	UpperCAmelCase__      (      UpperCAmelCase__ :List[str]					):






 '''simple docstring'''

 if n <= 0:
  print("       ...       ....        nothing printing :("					)
  return
 floyd(UpperCAmelCase__					)  # upper half
 reverse_floyd(UpperCAmelCase__					)  # lower half


if __name__ == "__main__":
     print(r'''| /\ | |- |  |-  |--| |\  /| |-''')
     print(r'''|/  \| |- |_ |_  |__| | \/ | |_''')
     A_		:     Optional[Any]        =     1
     while K:
          A_		:     int        =     int(input('''enter the number and , and see the magic : '''))
          print()
          pretty_print(user_number)
          A_		:     Optional[Any]        =     int(input('''press 0 to exit... and 1 to continue...'''))

     print('''Good Bye...''')






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


A_		:     str        =     logging.get_logger(__name__)

A_		:     List[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 		_lowercase		(       UpperCAmelCase__	):
   _UpperCAmelCase     	=			'''rwkv'''
   _UpperCAmelCase     	=			{'''max_position_embeddings''': '''context_length'''}

   def __init__(      self			:       List[str]							,   __lowerCAmelCase			:       Union[str, Any]=5_0277							,   __lowerCAmelCase			:       str=1024							,   __lowerCAmelCase			:       Union[str, Any]=4096							,   __lowerCAmelCase			:       Optional[int]=32							,   __lowerCAmelCase			:       Optional[int]=None							,   __lowerCAmelCase			:       Optional[Any]=None							,   __lowerCAmelCase			:       List[Any]=1E-5							,   __lowerCAmelCase			:       Union[str, Any]=0							,   __lowerCAmelCase			:       Optional[Any]=0							,   __lowerCAmelCase			:       Dict=6							,   __lowerCAmelCase			:       int=False							,   __lowerCAmelCase			:       Tuple=True							,   **__lowerCAmelCase			:       List[str]							,   )       ->				List[Any]:


    """simple docstring"""






    a						=		vocab_size
    a						=		context_length
    a						=		hidden_size
    a						=		num_hidden_layers
    a						=		attention_hidden_size if attention_hidden_size is not None else hidden_size
    a						=		intermediate_size if intermediate_size is not None else 4 * hidden_size
    a						=		layer_norm_epsilon
    a						=		rescale_every
    a						=		use_cache

    a						=		bos_token_id
    a						=		eos_token_id

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

