"""simple docstring"""






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


__A			   = logging.get_logger(__name__)

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


class     UpperCAmelCase						(UpperCAmelCase__  ):



    """simple docstring"""

    _UpperCAmelCase	:List[Any]						    = """retribert"""






    def __init__(   self    ,			_UpperCAmelCase=30522    ,			_UpperCAmelCase=768    ,			_UpperCAmelCase=8    ,			_UpperCAmelCase=12    ,			_UpperCAmelCase=3072    ,			_UpperCAmelCase="gelu"    ,			_UpperCAmelCase=0.1    ,			_UpperCAmelCase=0.1    ,			_UpperCAmelCase=512    ,			_UpperCAmelCase=2    ,			_UpperCAmelCase=0.02    ,			_UpperCAmelCase=1e-1_2    ,			_UpperCAmelCase=True    ,			_UpperCAmelCase=128    ,			_UpperCAmelCase=0    ,			**_UpperCAmelCase    ,			):
       super().__init__(pad_token_id=SCREAMING_SNAKE_CASE__    ,			**SCREAMING_SNAKE_CASE__							)

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

'''simple docstring'''

from abc import ABC, abstractmethod
from argparse import ArgumentParser







class 				_lowercase     (				UpperCAmelCase__			):


 '''simple docstring'''






 @staticmethod
 @abstractmethod
 def a					(      SCREAMING_SNAKE_CASE__   :	ArgumentParser							)  ->    Tuple:
  raise NotImplementedError()





 @abstractmethod
 def a					(      self   :	int							)  ->    Union[str, Any]:
  raise NotImplementedError()






