





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


_lowerCAmelCase								=  logging.get_logger(__name__)

# TODO: upload to AWS
_lowerCAmelCase								=  {
    '''yjernite/retribert-base-uncased''': (
        '''https://huggingface.co/yjernite/retribert-base-uncased/resolve/main/config.json'''
    ),
}

class  _UpperCAmelCase				(		_UpperCAmelCase  ):
      a    							=				'retribert'
      def __init__(		self   ,							a__=30522   ,							a__=768   ,							a__=8   ,							a__=12   ,							a__=3072   ,							a__="gelu"   ,							a__=0.1   ,							a__=0.1   ,							a__=512   ,							a__=2   ,							a__=0.02   ,							a__=1E-12   ,							a__=True   ,							a__=128   ,							a__=0   ,							**a__   ,							):
         super().__init__(pad_token_id=__UpperCamelCase   ,							**__UpperCamelCase							)

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








"""simple docstring"""



import warnings
from functools import wraps
from typing import Callable


def 			_UpperCamelCase						(    _A   )     ->	Callable:





    """simple docstring"""

    @wraps(_A   )
    def _inner_fn(*_A       ,   **_A   ):
        warnings.warn(
            (F"""'{fn.__name__}' is experimental and might be subject to breaking changes in the future.""")       ,   _A       ,   )
        return fn(*_A       ,   **_A   )

    return _inner_fn