



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


__a      =				logging.get_logger(__name__)

__a      =				{
    "uclanlp/visualbert-vqa": "https://huggingface.co/uclanlp/visualbert-vqa/resolve/main/config.json",
    "uclanlp/visualbert-vqa-pre": "https://huggingface.co/uclanlp/visualbert-vqa-pre/resolve/main/config.json",
    "uclanlp/visualbert-vqa-coco-pre": (
        "https://huggingface.co/uclanlp/visualbert-vqa-coco-pre/resolve/main/config.json"
    ),
    "uclanlp/visualbert-vcr": "https://huggingface.co/uclanlp/visualbert-vcr/resolve/main/config.json",
    "uclanlp/visualbert-vcr-pre": "https://huggingface.co/uclanlp/visualbert-vcr-pre/resolve/main/config.json",
    "uclanlp/visualbert-vcr-coco-pre": (
        "https://huggingface.co/uclanlp/visualbert-vcr-coco-pre/resolve/main/config.json"
    ),
    "uclanlp/visualbert-nlvr2": "https://huggingface.co/uclanlp/visualbert-nlvr2/resolve/main/config.json",
    "uclanlp/visualbert-nlvr2-pre": "https://huggingface.co/uclanlp/visualbert-nlvr2-pre/resolve/main/config.json",
    "uclanlp/visualbert-nlvr2-coco-pre": (
        "https://huggingface.co/uclanlp/visualbert-nlvr2-coco-pre/resolve/main/config.json"
    )
    # See all VisualBERT models at https://huggingface.co/models?filter=visual_bert
}
class 				lowerCamelCase  (			_lowerCAmelCase				):






					'''simple docstring'''





					_A		:			int						=     """visual_bert"""






					def __init__(       self:							List[Any]						,     snake_case:							Union[str, Any]=30_522						,     snake_case:							Dict=768						,     snake_case:							Any=512						,     snake_case:							Any=12						,     snake_case:							Any=12						,     snake_case:							List[Any]=3_072						,     snake_case:							int="gelu"						,     snake_case:							int=0.1						,     snake_case:							str=0.1						,     snake_case:							str=512						,     snake_case:							Dict=2						,     snake_case:							int=0.0_2						,     snake_case:							Optional[int]=1E-12						,     snake_case:							str=False						,     snake_case:							List[Any]=True						,     snake_case:							Union[str, Any]=1						,     snake_case:							Optional[Any]=0						,     snake_case:							Tuple=2						,     **snake_case:							Union[str, Any]						,     )   ->	Union[str, Any]:
											super().__init__(pad_token_id=snake_case						,     bos_token_id=snake_case						,     eos_token_id=snake_case						,     **snake_case						)

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

from maths.prime_check import is_prime





def    __lowercase     (						lowerCamelCase					:     int	):
 if not isinstance(lowerCamelCase  ,  lowerCamelCase	):
  UpperCamelCase_					:						List[str] =					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()



