


"""simple docstring"""



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


__snake_case         =					logging.get_logger(__name__)

# TODO: upload to AWS
__snake_case         =					{
    """yjernite/retribert-base-uncased""": (
        """https://huggingface.co/yjernite/retribert-base-uncased/resolve/main/config.json"""
    ),
}







class _lowerCAmelCase       (   snake_case_			):
   __UpperCAmelCase				: str													=						'''retribert'''







   def __init__(			self		,			UpperCamelCase__=3_0522		,			UpperCamelCase__=768		,			UpperCamelCase__=8		,			UpperCamelCase__=12		,			UpperCamelCase__=3072		,			UpperCamelCase__="gelu"		,			UpperCamelCase__=0.1		,			UpperCamelCase__=0.1		,			UpperCamelCase__=512		,			UpperCamelCase__=2		,			UpperCamelCase__=0.02		,			UpperCamelCase__=1e-12		,			UpperCamelCase__=True		,			UpperCamelCase__=128		,			UpperCamelCase__=0		,			**UpperCamelCase__		,			)			->	Optional[Any]:

       '''simple docstring'''




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

       snake_case					:   Optional[Any]         =					vocab_size
       snake_case					:   Union[str, Any]         =					hidden_size
       snake_case					:   int         =					num_hidden_layers
       snake_case					:   int         =					num_attention_heads
       snake_case					:   int         =					hidden_act
       snake_case					:   Any         =					intermediate_size
       snake_case					:   List[Any]         =					hidden_dropout_prob
       snake_case					:   Union[str, Any]         =					attention_probs_dropout_prob
       snake_case					:   List[Any]         =					max_position_embeddings
       snake_case					:   List[Any]         =					type_vocab_size
       snake_case					:   int         =					initializer_range
       snake_case					:   Dict         =					layer_norm_eps
       snake_case					:   List[str]         =					share_encoders
       snake_case					:   Tuple         =					projection_dim









"""simple docstring"""



from __future__ import annotations

from cmath import sqrt







def 						__lowerCAmelCase		(		lowercase						:						int		,							lowercase						:						int		,							lowercase						:						int				)			->		tuple[complex, complex]:


    """simple docstring"""





    if a == 0:
        raise ValueError("Coefficient 'a' must not be zero."				)
    snake_case					:   Dict         =					b * b - 4 * a * c

    snake_case					:   Tuple         =					(-b + sqrt(lowercase				)) / (2 * a)
    snake_case					:   Optional[int]         =					(-b - sqrt(lowercase				)) / (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 						__lowerCAmelCase		(		)			->		List[Any]:


    """simple docstring"""





    snake_case      ,snake_case					:   Optional[Any]         =					quadratic_roots(a=5		,							b=6		,							c=1				)
    print(F'The solutions are: {solutiona} and {solutiona}'				)


if __name__ == "__main__":
  main()





