
'''simple docstring'''



from __future__ import annotations


def A				(__lowerCamelCase				:int | float | str			,     __lowerCamelCase				:int | float | str		):
						if nth_term == "":
												return [""]
						_lowerCAmelCase  						=			int(__lowerCamelCase		)
						_lowerCAmelCase  						=			int(__lowerCamelCase		)
						_lowerCAmelCase  						=			[]
						for temp in range(int(__lowerCamelCase		)		):
												series.append(f'1 / {pow(temp + 1			,     int(__lowerCamelCase		)		)}' if series else """1"""		)
						return series


if __name__ == "__main__":
						import doctest

						doctest.testmod()

						_lowercase    =		int(input("""Enter the last number (nth term) of the P-Series"""))
						_lowercase    =		int(input("""Enter the power for  P-Series"""))
						print("""Formula of P-Series => 1+1/2^p+1/3^p ..... 1/n^p""")
						print(p_series(nth_term, power))


'''simple docstring'''



from ...configuration_utils import PretrainedConfig




class   UpperCAmelCase_					(		_SCREAMING_SNAKE_CASE			):






						'''simple docstring'''






						_lowercase		:				Tuple									=       '''bert-generation'''




						def __init__( self   ,       _lowercase=50_358   ,       _lowercase=1_024   ,       _lowercase=24   ,       _lowercase=16   ,       _lowercase=4_096   ,       _lowercase="gelu"   ,       _lowercase=0.1   ,       _lowercase=0.1   ,       _lowercase=512   ,       _lowercase=0.02   ,       _lowercase=1e-12   ,       _lowercase=0   ,       _lowercase=2   ,       _lowercase=1   ,       _lowercase="absolute"   ,       _lowercase=True   ,       **_lowercase   ,       ):

												"""simple docstring"""



												super().__init__(pad_token_id=_lowercase   ,       bos_token_id=_lowercase   ,       eos_token_id=_lowercase   ,       **_lowercase				)

												_lowerCAmelCase  						=			vocab_size
												_lowerCAmelCase  						=			hidden_size
												_lowerCAmelCase  						=			num_hidden_layers
												_lowerCAmelCase  						=			num_attention_heads
												_lowerCAmelCase  						=			hidden_act
												_lowerCAmelCase  						=			intermediate_size
												_lowerCAmelCase  						=			hidden_dropout_prob
												_lowerCAmelCase  						=			attention_probs_dropout_prob
												_lowerCAmelCase  						=			max_position_embeddings
												_lowerCAmelCase  						=			initializer_range
												_lowerCAmelCase  						=			layer_norm_eps
												_lowerCAmelCase  						=			position_embedding_type
												_lowerCAmelCase  						=			use_cache
