



"""simple docstring"""





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


lowerCamelCase       	=						logging.get_logger(__name__)

lowerCamelCase       	=						{
    """weiweishi/roc-bert-base-zh""": """https://huggingface.co/weiweishi/roc-bert-base-zh/resolve/main/config.json""",
}
class 				lowercase__       (   SCREAMING_SNAKE_CASE				):







       '''simple docstring'''


       UpperCamelCase						=					'''roc_bert'''



       def __init__(							self      :  Dict		,    _UpperCAmelCase      :  Any=30522		,    _UpperCAmelCase      :  Dict=768		,    _UpperCAmelCase      :  int=12		,    _UpperCAmelCase      :  Union[str, Any]=12		,    _UpperCAmelCase      :  Any=3072		,    _UpperCAmelCase      :  int="gelu"		,    _UpperCAmelCase      :  Dict=0.1		,    _UpperCAmelCase      :  int=0.1		,    _UpperCAmelCase      :  Any=512		,    _UpperCAmelCase      :  str=2		,    _UpperCAmelCase      :  Union[str, Any]=0.02		,    _UpperCAmelCase      :  str=1e-12		,    _UpperCAmelCase      :  str=True		,    _UpperCAmelCase      :  Dict=0		,    _UpperCAmelCase      :  Any="absolute"		,    _UpperCAmelCase      :  List[str]=None		,    _UpperCAmelCase      :  Union[str, Any]=True		,    _UpperCAmelCase      :  Dict=True		,    _UpperCAmelCase      :  List[Any]=768		,    _UpperCAmelCase      :  int=910		,    _UpperCAmelCase      :  Any=512		,    _UpperCAmelCase      :  Optional[Any]=24858		,    _UpperCAmelCase      :  Optional[int]=True		,    **_UpperCAmelCase      :  Tuple		,    )			->						Any:


             '''simple docstring'''




             UpperCAmelCase_      			=							vocab_size
             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
             UpperCAmelCase_      			=							use_cache
             UpperCAmelCase_      			=							enable_pronunciation
             UpperCAmelCase_      			=							enable_shape
             UpperCAmelCase_      			=							pronunciation_embed_dim
             UpperCAmelCase_      			=							pronunciation_vocab_size
             UpperCAmelCase_      			=							shape_embed_dim
             UpperCAmelCase_      			=							shape_vocab_size
             UpperCAmelCase_      			=							concat_input
             UpperCAmelCase_      			=							position_embedding_type
             UpperCAmelCase_      			=							classifier_dropout
             super().__init__(pad_token_id=_UpperCAmelCase		,    **_UpperCAmelCase   )









"""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()




