



"""simple docstring"""






from __future__ import annotations

from cmath import sqrt


def      _lowercase							(    __snake_case   ,__snake_case   ,__snake_case      )		->  Optional[int]:

			if a == 0:
						raise ValueError("Coefficient \'a\' must not be zero."      )
			__lowerCAmelCase :    Union[str, Any]				=			b * b - 4 * a * c

			__lowerCAmelCase :    Union[str, Any]				=			(-b + sqrt(_UpperCAmelCase      )) / (2 * a)
			__lowerCAmelCase :    Optional[int]				=			(-b - sqrt(_UpperCAmelCase      )) / (2 * a)

			return (
			    root_a.real if not root_a.imag else root_a,
			    root_a.real if not root_a.imag else root_a,
			)


def      _lowercase							(    )		->  int:
			__lowerCAmelCase		,      __lowerCAmelCase :    int				=			quadratic_roots(a=5   ,b=6   ,c=1      )
			print(F"""The solutions are: {solutiona} and {solutiona}"""      )


if __name__ == "__main__":
	main()






"""simple docstring"""
from ...configuration_utils import PretrainedConfig
from ...utils import logging


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

__UpperCamelCase     :						List[Any]						       =  {
    # See all MEGATRON_BERT models at https://huggingface.co/models?filter=bert
}







class       a							(   a__  ):
 snake_case__             =       '''megatron-bert'''



 def __init__(     self				,       _snake_case=2_90_56				,       _snake_case=10_24				,       _snake_case=24				,       _snake_case=16				,       _snake_case=40_96				,       _snake_case="gelu"				,       _snake_case=0.1				,       _snake_case=0.1				,       _snake_case=5_12				,       _snake_case=2				,       _snake_case=0.02				,       _snake_case=1E-12				,       _snake_case=0				,       _snake_case="absolute"				,       _snake_case=True				,       **_snake_case				,       ):







  """simple docstring"""






  super().__init__(pad_token_id=_snake_case				,       **_snake_case     )

  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    				= type_vocab_size
  lowerCAmelCase    				= initializer_range
  lowerCAmelCase    				= layer_norm_eps
  lowerCAmelCase    				= position_embedding_type
  lowerCAmelCase    				= use_cache





