





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


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

_lowerCamelCase					:				str  							=					{
    '''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 						lowerCamelCase   (__lowerCamelCase			):







							"""simple docstring"""




							UpperCAmelCase_									=    "splinter"






							def __init__(					self	:     Tuple, _UpperCAmelCase	:     Optional[int]=3_0_5_2_2, _UpperCAmelCase	:     Optional[int]=7_6_8, _UpperCAmelCase	:     int=1_2, _UpperCAmelCase	:     Union[str, Any]=1_2, _UpperCAmelCase	:     Union[str, Any]=3_0_7_2, _UpperCAmelCase	:     Union[str, Any]="gelu", _UpperCAmelCase	:     Any=0.1, _UpperCAmelCase	:     Union[str, Any]=0.1, _UpperCAmelCase	:     List[str]=5_1_2, _UpperCAmelCase	:     Union[str, Any]=2, _UpperCAmelCase	:     List[Any]=0.02, _UpperCAmelCase	:     Tuple=1E-12, _UpperCAmelCase	:     List[str]=True, _UpperCAmelCase	:     Optional[int]=0, _UpperCAmelCase	:     int=1_0_4, **_UpperCAmelCase	:     Any, )      -> List[str]:





														"""simple docstring"""
														super().__init__(pad_token_id=__lowercase, **__lowercase						)

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












def 					snake_case					(							A			)							->							int:




	'''simple docstring'''


	if not isinstance(A						,   A			):
		raise ValueError('double_factorial() only accepts integral values'			)
	if n < 0:
		raise ValueError('double_factorial() not defined for negative values'			)
	return 1 if n <= 1 else n * double_factorial(n - 2			)


if __name__ == "__main__":
							import doctest

							doctest.testmod()
