





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


__UpperCAmelCase	:       Dict    	=							logging.get_logger(__name__)

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







class    __snake_case	(							__lowerCamelCase      ):





       '''simple docstring'''







       lowerCAmelCase__						=					"""retribert"""




       def __init__(  self			:   str							,    A			:   Any=30_522							,    A			:   Dict=768							,    A			:   List[str]=8							,    A			:   Dict=12							,    A			:   str=3_072							,    A			:   Any="gelu"							,    A			:   int=0.1							,    A			:   List[str]=0.1							,    A			:   int=512							,    A			:   Dict=2							,    A			:   int=0.02							,    A			:   List[str]=1E-12							,    A			:   Tuple=True							,    A			:   int=128							,    A			:   Any=0							,    **A			:   str							,    ):
         super().__init__(pad_token_id=A							,    **A		)

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













import warnings

from diffusers import StableDiffusionImgaImgPipeline  # noqa F401


warnings.warn(
    "The `image_to_image.py` script is outdated. Please use directly `from diffusers import"
    " StableDiffusionImg2ImgPipeline` instead."
)






