






'''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      __SCREAMING_SNAKE_CASE      (			lowerCamelCase				):
 snake_case_  							=							"""retribert"""




 def __init__(      self	:							Any					,      __lowercase	:							Dict=3_05_22					,      __lowercase	:							Tuple=7_68					,      __lowercase	:							Any=8					,      __lowercase	:							Dict=12					,      __lowercase	:							Any=30_72					,      __lowercase	:							Optional[int]="gelu"					,      __lowercase	:							List[Any]=0.1					,      __lowercase	:							Tuple=0.1					,      __lowercase	:							Optional[Any]=5_12					,      __lowercase	:							List[Any]=2					,      __lowercase	:							Any=0.02					,      __lowercase	:							str=1e-12					,      __lowercase	:							List[str]=True					,      __lowercase	:							Optional[Any]=1_28					,      __lowercase	:							Optional[int]=0					,      **__lowercase	:							Tuple					,      )	->						Optional[Any]:
       super().__init__(pad_token_id=__lowercase					,      **__lowercase      )

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







'''simple docstring'''
def  _a(  UpperCamelCase__				:						str,	UpperCamelCase__				:						str							):




      '''simple docstring'''






      SCREAMING_SNAKE_CASE__     :				Optional[int]									=len(UpperCamelCase__							)
      SCREAMING_SNAKE_CASE__     :				Optional[Any]									=len(UpperCamelCase__							)
      SCREAMING_SNAKE_CASE__     :				Tuple									=[[False for _ in range(m + 1							)] for _ in range(n + 1							)]
      SCREAMING_SNAKE_CASE__     :				List[Any]									=True
      for i in range(UpperCamelCase__							):
            for j in range(m + 1							):
                  if dp[i][j]:
                        if j < m and a[i].upper() == b[j]:
                              SCREAMING_SNAKE_CASE__     :				Optional[int]									=True
                        if a[i].islower():
                              SCREAMING_SNAKE_CASE__     :				List[Any]									=True
      return dp[n][m]


if __name__ == "__main__":
  import doctest

  doctest.testmod()