



"""simple docstring"""





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


lowerCamelCase       	=						logging.get_logger(__name__)

lowerCamelCase       	=						{
    """google/canine-s""": """https://huggingface.co/google/canine-s/resolve/main/config.json""",
    # See all CANINE models at https://huggingface.co/models?filter=canine
}
class 				lowercase__       (   lowerCAmelCase_				):







     '''simple docstring'''


     UpperCamelCase						=					"""canine"""



     def __init__(							self      :  Tuple		,    _UpperCAmelCase      :  str=768		,    _UpperCAmelCase      :  Dict=12		,    _UpperCAmelCase      :  Union[str, Any]=12		,    _UpperCAmelCase      :  List[Any]=3072		,    _UpperCAmelCase      :  List[Any]="gelu"		,    _UpperCAmelCase      :  Any=0.1		,    _UpperCAmelCase      :  Tuple=0.1		,    _UpperCAmelCase      :  Union[str, Any]=16384		,    _UpperCAmelCase      :  str=16		,    _UpperCAmelCase      :  List[str]=0.02		,    _UpperCAmelCase      :  Any=1e-12		,    _UpperCAmelCase      :  Tuple=0		,    _UpperCAmelCase      :  List[str]=0xe0_00		,    _UpperCAmelCase      :  List[Any]=0xe0_01		,    _UpperCAmelCase      :  Any=4		,    _UpperCAmelCase      :  Optional[Any]=4		,    _UpperCAmelCase      :  Dict=8		,    _UpperCAmelCase      :  List[Any]=16384		,    _UpperCAmelCase      :  List[Any]=128		,    **_UpperCAmelCase      :  Optional[int]		,    )			->						Dict:


           '''simple docstring'''




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

           UpperCAmelCase_      			=							max_position_embeddings
           UpperCAmelCase_      			=							hidden_size
           UpperCAmelCase_      			=							num_hidden_layers
           UpperCAmelCase_      			=							num_attention_heads
           UpperCAmelCase_      			=							intermediate_size
           UpperCAmelCase_      			=							hidden_act
           UpperCAmelCase_      			=							hidden_dropout_prob
           UpperCAmelCase_      			=							attention_probs_dropout_prob
           UpperCAmelCase_      			=							initializer_range
           UpperCAmelCase_      			=							type_vocab_size
           UpperCAmelCase_      			=							layer_norm_eps

           # Character config:
           UpperCAmelCase_      			=							downsampling_rate
           UpperCAmelCase_      			=							upsampling_kernel_size
           UpperCAmelCase_      			=							num_hash_functions
           UpperCAmelCase_      			=							num_hash_buckets
           UpperCAmelCase_      			=							local_transformer_stride









"""simple docstring"""





from maths.prime_check import is_prime
def        a__     (				lowerCAmelCase__				):
      if not isinstance(lowerCAmelCase__     ,      lowerCAmelCase__				):
            UpperCAmelCase_      			=							f"""Input value of [number={number}] must be an integer"""
            raise TypeError(lowerCAmelCase__				)
      if is_prime(lowerCAmelCase__				) and is_prime(number + 2				):
            return number + 2
      else:
            return -1


if __name__ == "__main__":
  import doctest

  doctest.testmod()




