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


a_           =    logging.get_logger(__name__)

a_           =    {
    "bert-base-uncased": "https://huggingface.co/bert-base-uncased/resolve/main/config.json",
    # QDQBERT models can be loaded from any BERT checkpoint, available at https://huggingface.co/models?filter=bert
}






class  UpperCAmelCase_					(						snake_case__       ):
 UpperCAmelCase_		     =    """qdqbert"""





 def __init__(     self			,							lowercase_=3_05_22			,							lowercase_=7_68			,							lowercase_=12			,							lowercase_=12			,							lowercase_=30_72			,							lowercase_="gelu"			,							lowercase_=0.1			,							lowercase_=0.1			,							lowercase_=5_12			,							lowercase_=2			,							lowercase_=0.02			,							lowercase_=1E-12			,							lowercase_=True			,							lowercase_=1			,							lowercase_=0			,							lowercase_=2			,							**lowercase_			,							):
     super().__init__(pad_token_id=lowercase_			,							bos_token_id=lowercase_			,							eos_token_id=lowercase_			,							**lowercase_)

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






'''simple docstring'''
def     UpperCamelCase_  (						__SCREAMING_SNAKE_CASE							):
    """simple docstring"""






    if number != int(__SCREAMING_SNAKE_CASE							):
        raise ValueError("factorial() only accepts integral values"							)
    if number < 0:
        raise ValueError("factorial() not defined for negative values"							)
    snake_case_			:     int        =    1
    for i in range(1,		number + 1							):
        value *= i
    return value

def     UpperCamelCase_  (						__SCREAMING_SNAKE_CASE							):
    """simple docstring"""






    if not isinstance(__SCREAMING_SNAKE_CASE,		__SCREAMING_SNAKE_CASE							):
        raise ValueError("factorial() only accepts integral values"							)
    if n < 0:
        raise ValueError("factorial() not defined for negative values"							)
    return 1 if n == 0 or n == 1 else n * factorial(n - 1							)


if __name__ == "__main__":
  import doctest

  doctest.testmod()

  a_           =    int(input("Enter a positive integer: ").strip() or 0)
  print(f"""factorial{n} is {factorial(n)}""")




