


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


_snake_case				=			logging.get_logger(__name__)

_snake_case				=			{
    '''tau/splinter-base''': '''https://huggingface.co/tau/splinter-base/resolve/main/config.json''',
    '''tau/splinter-base-qass''': '''https://huggingface.co/tau/splinter-base-qass/resolve/main/config.json''',
    '''tau/splinter-large''': '''https://huggingface.co/tau/splinter-large/resolve/main/config.json''',
    '''tau/splinter-large-qass''': '''https://huggingface.co/tau/splinter-large-qass/resolve/main/config.json''',
    # See all Splinter models at https://huggingface.co/models?filter=splinter
}




class  A_ (			lowerCamelCase_  ):







 """simple docstring"""





 _UpperCamelCase					:			int     	=       '''splinter'''
 def __init__(      self       :			Optional[int]							,     _a       :			Tuple=3_0_5_2_2							,     _a       :			str=7_6_8							,     _a       :			List[Any]=1_2							,     _a       :			Optional[int]=1_2							,     _a       :			Optional[int]=3_0_7_2							,     _a       :			int="gelu"							,     _a       :			Dict=0.1							,     _a       :			Dict=0.1							,     _a       :			Optional[Any]=5_1_2							,     _a       :			List[str]=2							,     _a       :			Union[str, Any]=0.0_2							,     _a       :			List[Any]=1E-12							,     _a       :			List[str]=True							,     _a       :			Optional[Any]=0							,     _a       :			List[Any]=1_0_4							,     **_a       :			Dict							,     )     ->      int:
      super().__init__(pad_token_id=_lowercase							,     **_lowercase					)

      UpperCAmelCase    :					Tuple			=      vocab_size
      UpperCAmelCase    :					str			=      max_position_embeddings
      UpperCAmelCase    :					Tuple			=      hidden_size
      UpperCAmelCase    :					List[Any]			=      num_hidden_layers
      UpperCAmelCase    :					Tuple			=      num_attention_heads
      UpperCAmelCase    :					Union[str, Any]			=      intermediate_size
      UpperCAmelCase    :					str			=      hidden_act
      UpperCAmelCase    :					List[str]			=      hidden_dropout_prob
      UpperCAmelCase    :					Any			=      attention_probs_dropout_prob
      UpperCAmelCase    :					Dict			=      initializer_range
      UpperCAmelCase    :					Union[str, Any]			=      type_vocab_size
      UpperCAmelCase    :					Optional[Any]			=      layer_norm_eps
      UpperCAmelCase    :					int			=      use_cache
      UpperCAmelCase    :					Any			=      question_token_id




import warnings

from ...utils import logging
from .image_processing_vit import ViTImageProcessor


__lowerCamelCase     :					Union[str, Any]				  =						logging.get_logger(__name__)







class __snake_case							(		lowerCamelCase_						):




   def __init__(       self     :							str			,      *_lowercase     :							str			,      **_lowercase     :							str ):



     """simple docstring"""






     warnings.warn(
         """The class ViTFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please"""
         """ use ViTImageProcessor instead."""			,      _lowercase			,      )
     super().__init__(*_lowercase			,      **_lowercase )
