
"""simple docstring"""





from collections import OrderedDict
from typing import Mapping

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


__magic_name__       =			logging.get_logger(__name__)

__magic_name__       =			{
    "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 						SCREAMING_SNAKE_CASE_ (						__a ):




		"""simple docstring"""





		__lowercase							:  Dict						   =		'''xlm-roberta-xl'''




		def __init__(     self							,  lowerCAmelCase__=2_5_0_8_8_0							,  lowerCAmelCase__=2_5_6_0							,  lowerCAmelCase__=3_6							,  lowerCAmelCase__=3_2							,  lowerCAmelCase__=1_0_2_4_0							,  lowerCAmelCase__="gelu"							,  lowerCAmelCase__=0.1							,  lowerCAmelCase__=0.1							,  lowerCAmelCase__=5_1_4							,  lowerCAmelCase__=1							,  lowerCAmelCase__=0.02							,  lowerCAmelCase__=1E-05							,  lowerCAmelCase__=1							,  lowerCAmelCase__=0							,  lowerCAmelCase__=2							,  lowerCAmelCase__="absolute"							,  lowerCAmelCase__=True							,  lowerCAmelCase__=None							,  **lowerCAmelCase__							,  ):
				super().__init__(pad_token_id=lowerCAmelCase__							,  bos_token_id=lowerCAmelCase__							,  eos_token_id=lowerCAmelCase__							,  **lowerCAmelCase__)
				__SCREAMING_SNAKE_CASE            = vocab_size
				__SCREAMING_SNAKE_CASE            = hidden_size
				__SCREAMING_SNAKE_CASE            = num_hidden_layers
				__SCREAMING_SNAKE_CASE            = num_attention_heads
				__SCREAMING_SNAKE_CASE            = hidden_act
				__SCREAMING_SNAKE_CASE            = intermediate_size
				__SCREAMING_SNAKE_CASE            = hidden_dropout_prob
				__SCREAMING_SNAKE_CASE            = attention_probs_dropout_prob
				__SCREAMING_SNAKE_CASE            = max_position_embeddings
				__SCREAMING_SNAKE_CASE            = type_vocab_size
				__SCREAMING_SNAKE_CASE            = initializer_range
				__SCREAMING_SNAKE_CASE            = layer_norm_eps
				__SCREAMING_SNAKE_CASE            = position_embedding_type
				__SCREAMING_SNAKE_CASE            = use_cache
				__SCREAMING_SNAKE_CASE            = classifier_dropout



class 						SCREAMING_SNAKE_CASE_ (						__a ):




		"""simple docstring"""





		@property
		def 	snake_case_     (     self):
				if self.task == "multiple-choice":
						__SCREAMING_SNAKE_CASE            = {0: """batch""", 1: """choice""", 2: """sequence"""}
				else:
						__SCREAMING_SNAKE_CASE            = {0: """batch""", 1: """sequence"""}
				return OrderedDict(
				    [
				        ("""input_ids""", dynamic_axis),
				        ("""attention_mask""", dynamic_axis),
				    ])






"""simple docstring"""





import warnings

from ...utils import logging
from .image_processing_yolos import YolosImageProcessor


__magic_name__       =			logging.get_logger(__name__)
class 						SCREAMING_SNAKE_CASE_ (						__a ):




		"""simple docstring"""





		def __init__(     self							,  *lowerCAmelCase__							,  **lowerCAmelCase__):
				warnings.warn(
				    """The class YolosFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please"""
				    """ use YolosImageProcessor instead."""							,  lowerCAmelCase__							,  )
				super().__init__(*lowerCAmelCase__							,  **lowerCAmelCase__)




