
"""simple docstring"""

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


_A						=			logging.get_logger(__name__)

_A						=			{
    'bigcode/gpt_bigcode-santacoder': 'https://huggingface.co/bigcode/gpt_bigcode-santacoder/resolve/main/config.json',
}






class 	_lowercase       (    __UpperCAmelCase		):
	lowercase_				=     '''gpt_bigcode'''
	lowercase_				=     ['''past_key_values''']
	lowercase_				=     {
	    '''hidden_size''': '''n_embd''',
	    '''max_position_embeddings''': '''n_positions''',
	    '''num_attention_heads''': '''n_head''',
	    '''num_hidden_layers''': '''n_layer''',
	}




	def __init__(			self		,			UpperCAmelCase_=50257		,			UpperCAmelCase_=1024		,			UpperCAmelCase_=768		,			UpperCAmelCase_=12		,			UpperCAmelCase_=12		,			UpperCAmelCase_=None		,			UpperCAmelCase_="gelu_pytorch_tanh"		,			UpperCAmelCase_=0.1		,			UpperCAmelCase_=0.1		,			UpperCAmelCase_=0.1		,			UpperCAmelCase_=1E-5		,			UpperCAmelCase_=0.02		,			UpperCAmelCase_=True		,			UpperCAmelCase_=True		,			UpperCAmelCase_=50256		,			UpperCAmelCase_=50256		,			UpperCAmelCase_=True		,			UpperCAmelCase_=True		,			UpperCAmelCase_=True		,			**UpperCAmelCase_		,			)		->							str:
			lowerCamelCase					:      str          =   vocab_size
			lowerCamelCase					:      Dict          =   n_positions
			lowerCamelCase					:      Union[str, Any]          =   n_embd
			lowerCamelCase					:      int          =   n_layer
			lowerCamelCase					:      Optional[Any]          =   n_head
			lowerCamelCase					:      List[Any]          =   n_inner
			lowerCamelCase					:      Optional[int]          =   activation_function
			lowerCamelCase					:      Union[str, Any]          =   resid_pdrop
			lowerCamelCase					:      Optional[Any]          =   embd_pdrop
			lowerCamelCase					:      Optional[Any]          =   attn_pdrop
			lowerCamelCase					:      str          =   layer_norm_epsilon
			lowerCamelCase					:      int          =   initializer_range
			lowerCamelCase					:      Any          =   scale_attn_weights
			lowerCamelCase					:      Any          =   use_cache
			lowerCamelCase					:      Any          =   attention_softmax_in_fpaa
			lowerCamelCase					:      Any          =   scale_attention_softmax_in_fpaa
			lowerCamelCase					:      List[Any]          =   multi_query

			lowerCamelCase					:      str          =   bos_token_id
			lowerCamelCase					:      Optional[int]          =   eos_token_id

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








"""simple docstring"""

def 		UpperCAmelCase (		a_,						a_      ):





		'''simple docstring'''


		while b:
				lowerCamelCase     ,   lowerCamelCase					:      Tuple          =   b, a % b
		return a
def 		UpperCAmelCase (		a_,						a_      ):





		'''simple docstring'''


		return a if b == 0 else euclidean_gcd_recursive(a_,						a % b      )
def 		UpperCAmelCase (		):





		'''simple docstring'''


		print(F"""euclidean_gcd(3, 5) = {euclidean_gcd(3,						5      )}"""      )
		print(F"""euclidean_gcd(5, 3) = {euclidean_gcd(5,						3      )}"""      )
		print(F"""euclidean_gcd(1, 3) = {euclidean_gcd(1,						3      )}"""      )
		print(F"""euclidean_gcd(3, 6) = {euclidean_gcd(3,						6      )}"""      )
		print(F"""euclidean_gcd(6, 3) = {euclidean_gcd(6,						3      )}"""      )

		print(F"""euclidean_gcd_recursive(3, 5) = {euclidean_gcd_recursive(3,						5      )}"""      )
		print(F"""euclidean_gcd_recursive(5, 3) = {euclidean_gcd_recursive(5,						3      )}"""      )
		print(F"""euclidean_gcd_recursive(1, 3) = {euclidean_gcd_recursive(1,						3      )}"""      )
		print(F"""euclidean_gcd_recursive(3, 6) = {euclidean_gcd_recursive(3,						6      )}"""      )
		print(F"""euclidean_gcd_recursive(6, 3) = {euclidean_gcd_recursive(6,						3      )}"""      )


if __name__ == "__main__":
					main()






