




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


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

__lowerCAmelCase	:       Tuple     =	{'openai-gpt': 'https://huggingface.co/openai-gpt/resolve/main/config.json'}




class 					snake_case__							(_UpperCamelCase     ):
				"""simple docstring"""



				SCREAMING_SNAKE_CASE_ :							Optional[int]											=      """openai-gpt"""
				SCREAMING_SNAKE_CASE_ :							str											=      {
				    """max_position_embeddings""": """n_positions""",
				    """hidden_size""": """n_embd""",
				    """num_attention_heads""": """n_head""",
				    """num_hidden_layers""": """n_layer""",
				}





				def __init__(   self       :  str      ,   __lowerCamelCase       :  str=4_04_78      ,   __lowerCamelCase       :  Tuple=5_12      ,   __lowerCamelCase       :  Any=7_68      ,   __lowerCamelCase       :  Optional[int]=12      ,   __lowerCamelCase       :  List[str]=12      ,   __lowerCamelCase       :  Optional[Any]="gelu"      ,   __lowerCamelCase       :  str=0.1      ,   __lowerCamelCase       :  Optional[int]=0.1      ,   __lowerCamelCase       :  Optional[int]=0.1      ,   __lowerCamelCase       :  Union[str, Any]=1e-5      ,   __lowerCamelCase       :  Any=0.02      ,   __lowerCamelCase       :  Dict="cls_index"      ,   __lowerCamelCase       :  int=True      ,   __lowerCamelCase       :  List[str]=None      ,   __lowerCamelCase       :  int=True      ,   __lowerCamelCase       :  Optional[Any]=0.1      ,   **__lowerCamelCase       :  Union[str, Any]      ,   )      ->  List[Any]:
							a					=    vocab_size
							a					=    n_positions
							a					=    n_embd
							a					=    n_layer
							a					=    n_head
							a					=    afn
							a					=    resid_pdrop
							a					=    embd_pdrop
							a					=    attn_pdrop
							a					=    layer_norm_epsilon
							a					=    initializer_range
							a					=    summary_type
							a					=    summary_use_proj
							a					=    summary_activation
							a					=    summary_first_dropout
							a					=    summary_proj_to_labels
							super().__init__(**__lowerCamelCase							)












__lowerCAmelCase	:       List[Any]     =	{str(digit): digit**5 for digit in range(10)}




def     __magic_name__       (				A	:      int     ):






			'''simple docstring'''







			return sum(DIGITS_FIFTH_POWER[digit] for digit in str(A     )     )




def     __magic_name__       (				):






			'''simple docstring'''







			return sum(
			    number
			    for number in range(1000,						1000000     )
			    if number == digits_fifth_powers_sum(A     )     )


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






