






'''simple docstring'''







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


UpperCamelCase     :   Tuple	      =		logging.get_logger(__name__)

UpperCamelCase     :   Union[str, Any]	      =		{
    'bigcode/gpt_bigcode-santacoder': 'https://huggingface.co/bigcode/gpt_bigcode-santacoder/resolve/main/config.json',
}




class 		UpperCamelCase__     (a      ):




		'''simple docstring'''





		_UpperCamelCase						=       'gpt_bigcode'
		_UpperCamelCase						=       ['past_key_values']
		_UpperCamelCase						=       {
		    'hidden_size': 'n_embd',
		    'max_position_embeddings': 'n_positions',
		    'num_attention_heads': 'n_head',
		    'num_hidden_layers': 'n_layer',
		}






		def __init__(   self ,_lowerCAmelCase=5_02_57 ,_lowerCAmelCase=10_24 ,_lowerCAmelCase=7_68 ,_lowerCAmelCase=12 ,_lowerCAmelCase=12 ,_lowerCAmelCase=None ,_lowerCAmelCase="gelu_pytorch_tanh" ,_lowerCAmelCase=0.1 ,_lowerCAmelCase=0.1 ,_lowerCAmelCase=0.1 ,_lowerCAmelCase=1E-5 ,_lowerCAmelCase=0.02 ,_lowerCAmelCase=True ,_lowerCAmelCase=True ,_lowerCAmelCase=5_02_56 ,_lowerCAmelCase=5_02_56 ,_lowerCAmelCase=True ,_lowerCAmelCase=True ,_lowerCAmelCase=True ,**_lowerCAmelCase ,):
								lowerCamelCase__								=	vocab_size
								lowerCamelCase__								=	n_positions
								lowerCamelCase__								=	n_embd
								lowerCamelCase__								=	n_layer
								lowerCamelCase__								=	n_head
								lowerCamelCase__								=	n_inner
								lowerCamelCase__								=	activation_function
								lowerCamelCase__								=	resid_pdrop
								lowerCamelCase__								=	embd_pdrop
								lowerCamelCase__								=	attn_pdrop
								lowerCamelCase__								=	layer_norm_epsilon
								lowerCamelCase__								=	initializer_range
								lowerCamelCase__								=	scale_attn_weights
								lowerCamelCase__								=	use_cache
								lowerCamelCase__								=	attention_softmax_in_fpaa
								lowerCamelCase__								=	scale_attention_softmax_in_fpaa
								lowerCamelCase__								=	multi_query

								lowerCamelCase__								=	bos_token_id
								lowerCamelCase__								=	eos_token_id

								super().__init__(bos_token_id=_lowerCAmelCase ,eos_token_id=_lowerCAmelCase ,**_lowerCAmelCase							)



# Function to print upper half of diamond (pyramid)

def  __snake_case							(	__magic_name__						):







				'''simple docstring'''


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

def  __snake_case							(	__magic_name__						):







				'''simple docstring'''


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

def  __snake_case							(	__magic_name__						):







				'''simple docstring'''


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


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

						print("Good Bye...")
