






from ...configuration_utils import PretrainedConfig


class 							__UpperCamelCase     (  lowerCAmelCase__ ):
	__snake_case						:Optional[Any] =							'''bert-generation'''







	def __init__(	self   :				List[str]							,					_lowerCAmelCase   :				Optional[int]=5_0358							,					_lowerCAmelCase   :				Any=1024							,					_lowerCAmelCase   :				List[str]=24							,					_lowerCAmelCase   :				List[Any]=16							,					_lowerCAmelCase   :				List[Any]=4096							,					_lowerCAmelCase   :				Any="gelu"							,					_lowerCAmelCase   :				List[str]=0.1							,					_lowerCAmelCase   :				Optional[int]=0.1							,					_lowerCAmelCase   :				Dict=512							,					_lowerCAmelCase   :				Tuple=0.02							,					_lowerCAmelCase   :				Optional[Any]=1e-12							,					_lowerCAmelCase   :				Optional[int]=0							,					_lowerCAmelCase   :				Tuple=2							,					_lowerCAmelCase   :				Dict=1							,					_lowerCAmelCase   :				Optional[Any]="absolute"							,					_lowerCAmelCase   :				int=True							,					**_lowerCAmelCase   :				Tuple							,					)		->			Optional[Any]:
		"""simple docstring"""







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

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


'''simple docstring'''




def 							snake_case__				(     _A:   int					)       ->      list[int]:

		'''simple docstring'''


		if length <= 0 or not isinstance(_A ,  _A					):
				raise ValueError("""Length must be a positive integer."""					)
		return [n * (2 * n - 1) for n in range(_A					)]


if __name__ == "__main__":
						print(hexagonal_numbers(length=5))
						print(hexagonal_numbers(length=1_0))




