


from ...configuration_utils import PretrainedConfig

class     A__				(		UpperCamelCase__	):
						UpperCAmelCase   							=    "bert-generation"




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


										"""simple docstring"""





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

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

'''simple docstring'''





from ..utils import DummyObject, requires_backends






class 							UpperCAmelCase_							(    metaclass=A				):

 '''simple docstring'''
 lowercase_					:    Optional[int]				=							["torch", "transformers", "onnx"]







 def __init__(					self		:  Tuple			,				*snake_case__		:  str			,				**snake_case__		:  List[str] ):



   '''simple docstring'''




   requires_backends(self			,				["torch", "transformers", "onnx"] )







 @classmethod
 def 							UpperCamelCase  (					cls		:  Optional[int]			,				*snake_case__		:  Any			,				**snake_case__		:  List[Any] ):



   '''simple docstring'''




   requires_backends(cls			,				["torch", "transformers", "onnx"] )







 @classmethod
 def 							UpperCamelCase  (					cls		:  List[str]			,				*snake_case__		:  Any			,				**snake_case__		:  Tuple ):



   '''simple docstring'''




   requires_backends(cls			,				["torch", "transformers", "onnx"] )






class 							UpperCAmelCase_							(    metaclass=A				):

 '''simple docstring'''
 lowercase_					:    Tuple				=							["torch", "transformers", "onnx"]







 def __init__(					self		:  List[str]			,				*snake_case__		:  List[Any]			,				**snake_case__		:  Any ):



   '''simple docstring'''




   requires_backends(self			,				["torch", "transformers", "onnx"] )







 @classmethod
 def 							UpperCamelCase  (					cls		:  Dict			,				*snake_case__		:  Any			,				**snake_case__		:  Optional[int] ):



   '''simple docstring'''




   requires_backends(cls			,				["torch", "transformers", "onnx"] )







 @classmethod
 def 							UpperCamelCase  (					cls		:  int			,				*snake_case__		:  Dict			,				**snake_case__		:  List[Any] ):



   '''simple docstring'''




   requires_backends(cls			,				["torch", "transformers", "onnx"] )






class 							UpperCAmelCase_							(    metaclass=A				):

 '''simple docstring'''
 lowercase_					:    Optional[int]				=							["torch", "transformers", "onnx"]







 def __init__(					self		:  str			,				*snake_case__		:  Optional[int]			,				**snake_case__		:  str ):



   '''simple docstring'''




   requires_backends(self			,				["torch", "transformers", "onnx"] )







 @classmethod
 def 							UpperCamelCase  (					cls		:  Any			,				*snake_case__		:  List[str]			,				**snake_case__		:  Dict ):



   '''simple docstring'''




   requires_backends(cls			,				["torch", "transformers", "onnx"] )







 @classmethod
 def 							UpperCamelCase  (					cls		:  str			,				*snake_case__		:  Dict			,				**snake_case__		:  Dict ):



   '''simple docstring'''




   requires_backends(cls			,				["torch", "transformers", "onnx"] )






class 							UpperCAmelCase_							(    metaclass=A				):

 '''simple docstring'''
 lowercase_					:    int				=							["torch", "transformers", "onnx"]







 def __init__(					self		:  Any			,				*snake_case__		:  List[str]			,				**snake_case__		:  str ):



   '''simple docstring'''




   requires_backends(self			,				["torch", "transformers", "onnx"] )







 @classmethod
 def 							UpperCamelCase  (					cls		:  List[str]			,				*snake_case__		:  List[str]			,				**snake_case__		:  Optional[Any] ):



   '''simple docstring'''




   requires_backends(cls			,				["torch", "transformers", "onnx"] )







 @classmethod
 def 							UpperCamelCase  (					cls		:  Optional[int]			,				*snake_case__		:  List[Any]			,				**snake_case__		:  int ):



   '''simple docstring'''




   requires_backends(cls			,				["torch", "transformers", "onnx"] )






class 							UpperCAmelCase_							(    metaclass=A				):

 '''simple docstring'''
 lowercase_					:    Dict				=							["torch", "transformers", "onnx"]







 def __init__(					self		:  Any			,				*snake_case__		:  Optional[int]			,				**snake_case__		:  Any ):



   '''simple docstring'''




   requires_backends(self			,				["torch", "transformers", "onnx"] )







 @classmethod
 def 							UpperCamelCase  (					cls		:  Union[str, Any]			,				*snake_case__		:  str			,				**snake_case__		:  Optional[Any] ):



   '''simple docstring'''




   requires_backends(cls			,				["torch", "transformers", "onnx"] )







 @classmethod
 def 							UpperCamelCase  (					cls		:  int			,				*snake_case__		:  int			,				**snake_case__		:  Tuple ):



   '''simple docstring'''




   requires_backends(cls			,				["torch", "transformers", "onnx"] )






class 							UpperCAmelCase_							(    metaclass=A				):

 '''simple docstring'''
 lowercase_					:    Dict				=							["torch", "transformers", "onnx"]







 def __init__(					self		:  List[str]			,				*snake_case__		:  Tuple			,				**snake_case__		:  int ):



   '''simple docstring'''




   requires_backends(self			,				["torch", "transformers", "onnx"] )







 @classmethod
 def 							UpperCamelCase  (					cls		:  Optional[int]			,				*snake_case__		:  Tuple			,				**snake_case__		:  Dict ):



   '''simple docstring'''




   requires_backends(cls			,				["torch", "transformers", "onnx"] )







 @classmethod
 def 							UpperCamelCase  (					cls		:  List[str]			,				*snake_case__		:  Dict			,				**snake_case__		:  List[Any] ):



   '''simple docstring'''




   requires_backends(cls			,				["torch", "transformers", "onnx"] )



