



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


_UpperCamelCase											=			logging.get_logger(__name__)

_UpperCamelCase											=			{
    '''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  (    __SCREAMING_SNAKE_CASE    ):
		_SCREAMING_SNAKE_CASE					:    Any						      =			"splinter"





		def __init__(     self ,       __UpperCAmelCase=30_522 ,       __UpperCAmelCase=768 ,       __UpperCAmelCase=12 ,       __UpperCAmelCase=12 ,       __UpperCAmelCase=3_072 ,       __UpperCAmelCase="gelu" ,       __UpperCAmelCase=0.1 ,       __UpperCAmelCase=0.1 ,       __UpperCAmelCase=512 ,       __UpperCAmelCase=2 ,       __UpperCAmelCase=0.02 ,       __UpperCAmelCase=1E-12 ,       __UpperCAmelCase=True ,       __UpperCAmelCase=0 ,       __UpperCAmelCase=104 ,       **__UpperCAmelCase ,       )       ->     Dict:

					'''simple docstring'''
					super().__init__(pad_token_id=__UpperCAmelCase ,       **__UpperCAmelCase				)

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









'''simple docstring'''
from math import pi


def   lowercase_	(   lowerCAmelCase__	:  float ):

			"""simple docstring"""





			return degree / (180 / pi)


if __name__ == "__main__":
					from doctest import testmod

					testmod()




