






'''simple docstring'''





from ..utils import DummyObject, requires_backends


class  snake_case__      (					metaclass=a_):
					a_        =					['''flax''']




					def __init__(  self  :		List[Any]				, *_A  :		Tuple				, **_A  :		Optional[int]      )    ->							str:
								requires_backends(self				, ['''flax''']      )




					@classmethod
					def 		A      (  cls  :		int				, *_A  :		List[Any]				, **_A  :		str      )    ->							Optional[int]:
								requires_backends(cls				, ['''flax''']      )





					@classmethod
					def 		A      (  cls  :		List[str]				, *_A  :		Optional[int]				, **_A  :		str      )    ->							List[Any]:
								requires_backends(cls				, ['''flax''']      )






class  snake_case__      (					metaclass=a_):
					a_        =					['''flax''']




					def __init__(  self  :		List[str]				, *_A  :		Optional[Any]				, **_A  :		Any      )    ->							Optional[int]:
								requires_backends(self				, ['''flax''']      )




					@classmethod
					def 		A      (  cls  :		Any				, *_A  :		Optional[Any]				, **_A  :		Union[str, Any]      )    ->							Any:
								requires_backends(cls				, ['''flax''']      )





					@classmethod
					def 		A      (  cls  :		Optional[int]				, *_A  :		Optional[Any]				, **_A  :		str      )    ->							str:
								requires_backends(cls				, ['''flax''']      )






class  snake_case__      (					metaclass=a_):
					a_        =					['''flax''']




					def __init__(  self  :		List[str]				, *_A  :		List[Any]				, **_A  :		List[str]      )    ->							str:
								requires_backends(self				, ['''flax''']      )




					@classmethod
					def 		A      (  cls  :		Optional[Any]				, *_A  :		List[str]				, **_A  :		Tuple      )    ->							Tuple:
								requires_backends(cls				, ['''flax''']      )





					@classmethod
					def 		A      (  cls  :		List[Any]				, *_A  :		List[str]				, **_A  :		List[str]      )    ->							List[Any]:
								requires_backends(cls				, ['''flax''']      )






class  snake_case__      (					metaclass=a_):
					a_        =					['''flax''']




					def __init__(  self  :		Optional[int]				, *_A  :		int				, **_A  :		List[str]      )    ->							Dict:
								requires_backends(self				, ['''flax''']      )




					@classmethod
					def 		A      (  cls  :		Tuple				, *_A  :		Optional[Any]				, **_A  :		str      )    ->							List[str]:
								requires_backends(cls				, ['''flax''']      )





					@classmethod
					def 		A      (  cls  :		Tuple				, *_A  :		Optional[int]				, **_A  :		Optional[int]      )    ->							str:
								requires_backends(cls				, ['''flax''']      )






class  snake_case__      (					metaclass=a_):
					a_        =					['''flax''']




					def __init__(  self  :		Tuple				, *_A  :		Optional[Any]				, **_A  :		Dict      )    ->							int:
								requires_backends(self				, ['''flax''']      )




					@classmethod
					def 		A      (  cls  :		List[str]				, *_A  :		List[str]				, **_A  :		Optional[Any]      )    ->							Tuple:
								requires_backends(cls				, ['''flax''']      )





					@classmethod
					def 		A      (  cls  :		Optional[int]				, *_A  :		int				, **_A  :		Optional[Any]      )    ->							int:
								requires_backends(cls				, ['''flax''']      )






class  snake_case__      (					metaclass=a_):
					a_        =					['''flax''']




					def __init__(  self  :		Optional[int]				, *_A  :		Optional[int]				, **_A  :		Tuple      )    ->							List[Any]:
								requires_backends(self				, ['''flax''']      )




					@classmethod
					def 		A      (  cls  :		List[Any]				, *_A  :		List[Any]				, **_A  :		Any      )    ->							List[str]:
								requires_backends(cls				, ['''flax''']      )





					@classmethod
					def 		A      (  cls  :		str				, *_A  :		Dict				, **_A  :		List[Any]      )    ->							Union[str, Any]:
								requires_backends(cls				, ['''flax''']      )






class  snake_case__      (					metaclass=a_):
					a_        =					['''flax''']




					def __init__(  self  :		int				, *_A  :		Union[str, Any]				, **_A  :		Union[str, Any]      )    ->							Union[str, Any]:
								requires_backends(self				, ['''flax''']      )




					@classmethod
					def 		A      (  cls  :		int				, *_A  :		Optional[int]				, **_A  :		str      )    ->							List[str]:
								requires_backends(cls				, ['''flax''']      )





					@classmethod
					def 		A      (  cls  :		Optional[int]				, *_A  :		Any				, **_A  :		List[str]      )    ->							List[str]:
								requires_backends(cls				, ['''flax''']      )






class  snake_case__      (					metaclass=a_):
					a_        =					['''flax''']




					def __init__(  self  :		Optional[Any]				, *_A  :		List[Any]				, **_A  :		Optional[int]      )    ->							Dict:
								requires_backends(self				, ['''flax''']      )




					@classmethod
					def 		A      (  cls  :		int				, *_A  :		List[Any]				, **_A  :		Union[str, Any]      )    ->							Optional[int]:
								requires_backends(cls				, ['''flax''']      )





					@classmethod
					def 		A      (  cls  :		List[str]				, *_A  :		Dict				, **_A  :		List[Any]      )    ->							str:
								requires_backends(cls				, ['''flax''']      )






class  snake_case__      (					metaclass=a_):
					a_        =					['''flax''']




					def __init__(  self  :		Tuple				, *_A  :		Dict				, **_A  :		Dict      )    ->							Dict:
								requires_backends(self				, ['''flax''']      )




					@classmethod
					def 		A      (  cls  :		Dict				, *_A  :		Tuple				, **_A  :		Optional[int]      )    ->							Tuple:
								requires_backends(cls				, ['''flax''']      )





					@classmethod
					def 		A      (  cls  :		Optional[int]				, *_A  :		Dict				, **_A  :		List[Any]      )    ->							Tuple:
								requires_backends(cls				, ['''flax''']      )






class  snake_case__      (					metaclass=a_):
					a_        =					['''flax''']




					def __init__(  self  :		List[Any]				, *_A  :		str				, **_A  :		Optional[int]      )    ->							Tuple:
								requires_backends(self				, ['''flax''']      )




					@classmethod
					def 		A      (  cls  :		List[Any]				, *_A  :		Tuple				, **_A  :		Any      )    ->							str:
								requires_backends(cls				, ['''flax''']      )





					@classmethod
					def 		A      (  cls  :		Union[str, Any]				, *_A  :		Union[str, Any]				, **_A  :		List[Any]      )    ->							Tuple:
								requires_backends(cls				, ['''flax''']      )






class  snake_case__      (					metaclass=a_):
					a_        =					['''flax''']




					def __init__(  self  :		Tuple				, *_A  :		Dict				, **_A  :		Dict      )    ->							Optional[int]:
								requires_backends(self				, ['''flax''']      )




					@classmethod
					def 		A      (  cls  :		Dict				, *_A  :		Tuple				, **_A  :		Union[str, Any]      )    ->							List[Any]:
								requires_backends(cls				, ['''flax''']      )





					@classmethod
					def 		A      (  cls  :		List[str]				, *_A  :		Union[str, Any]				, **_A  :		Union[str, Any]      )    ->							Optional[Any]:
								requires_backends(cls				, ['''flax''']      )






class  snake_case__      (					metaclass=a_):
					a_        =					['''flax''']




					def __init__(  self  :		Union[str, Any]				, *_A  :		Any				, **_A  :		Optional[int]      )    ->							List[str]:
								requires_backends(self				, ['''flax''']      )




					@classmethod
					def 		A      (  cls  :		int				, *_A  :		List[Any]				, **_A  :		List[Any]      )    ->							Optional[Any]:
								requires_backends(cls				, ['''flax''']      )





					@classmethod
					def 		A      (  cls  :		Optional[int]				, *_A  :		Union[str, Any]				, **_A  :		str      )    ->							Optional[Any]:
								requires_backends(cls				, ['''flax''']      )






class  snake_case__      (					metaclass=a_):
					a_        =					['''flax''']




					def __init__(  self  :		List[str]				, *_A  :		int				, **_A  :		Union[str, Any]      )    ->							str:
								requires_backends(self				, ['''flax''']      )




					@classmethod
					def 		A      (  cls  :		List[str]				, *_A  :		int				, **_A  :		List[str]      )    ->							Tuple:
								requires_backends(cls				, ['''flax''']      )





					@classmethod
					def 		A      (  cls  :		List[Any]				, *_A  :		Any				, **_A  :		Optional[int]      )    ->							Any:
								requires_backends(cls				, ['''flax''']      )






'''simple docstring'''





from collections import OrderedDict
from typing import Mapping

from ...configuration_utils import PretrainedConfig
from ...onnx import OnnxConfig
from ...utils import logging


UpperCAmelCase__  			=				logging.get_logger(__name__)

UpperCAmelCase__  			=				{
    '''facebook/xlm-roberta-xl''': '''https://huggingface.co/facebook/xlm-roberta-xl/resolve/main/config.json''',
    '''facebook/xlm-roberta-xxl''': '''https://huggingface.co/facebook/xlm-roberta-xxl/resolve/main/config.json''',
    # See all XLM-RoBERTa-XL models at https://huggingface.co/models?filter=xlm-roberta-xl
}
class 						a__					(					a_   ):





			'''simple docstring'''

			A						:				Tuple					      =			'''xlm-roberta-xl'''
			def __init__(  self							:			Union[str, Any]			,    lowerCAmelCase_							:			Tuple=250_880			,    lowerCAmelCase_							:			Optional[int]=2_560			,    lowerCAmelCase_							:			Optional[Any]=36			,    lowerCAmelCase_							:			List[str]=32			,    lowerCAmelCase_							:			Optional[Any]=10_240			,    lowerCAmelCase_							:			Union[str, Any]="gelu"			,    lowerCAmelCase_							:			Optional[Any]=0.1			,    lowerCAmelCase_							:			Optional[Any]=0.1			,    lowerCAmelCase_							:			Optional[int]=514			,    lowerCAmelCase_							:			List[str]=1			,    lowerCAmelCase_							:			Optional[Any]=0.02			,    lowerCAmelCase_							:			List[str]=1E-05			,    lowerCAmelCase_							:			int=1			,    lowerCAmelCase_							:			List[str]=0			,    lowerCAmelCase_							:			List[Any]=2			,    lowerCAmelCase_							:			Optional[int]="absolute"			,    lowerCAmelCase_							:			List[Any]=True			,    lowerCAmelCase_							:			Tuple=None			,    **lowerCAmelCase_							:			List[str]			,    )      ->		str:
						super().__init__(pad_token_id=lowerCAmelCase_			,    bos_token_id=lowerCAmelCase_			,    eos_token_id=lowerCAmelCase_			,    **lowerCAmelCase_	)
						__A=	vocab_size
						__A=	hidden_size
						__A=	num_hidden_layers
						__A=	num_attention_heads
						__A=	hidden_act
						__A=	intermediate_size
						__A=	hidden_dropout_prob
						__A=	attention_probs_dropout_prob
						__A=	max_position_embeddings
						__A=	type_vocab_size
						__A=	initializer_range
						__A=	layer_norm_eps
						__A=	position_embedding_type
						__A=	use_cache
						__A=	classifier_dropout


class 						a__					(					a_   ):





			'''simple docstring'''

			@property
			def 					lowerCAmelCase     (  self							:			Optional[int]	)      ->		Mapping[str, Mapping[int, str]]:
						if self.task == "multiple-choice":
									__A=	{0: 'batch', 1: 'choice', 2: 'sequence'}
						else:
									__A=	{0: 'batch', 1: 'sequence'}
						return OrderedDict(
						    [
						        ('input_ids', dynamic_axis),
						        ('attention_mask', dynamic_axis),
						    ]	)



