"""simple docstring"""


from collections import OrderedDict
from typing import Mapping

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


a				=logging.get_logger(__name__)

a				={
    'facebook/xmod-base': 'https://huggingface.co/facebook/xmod-base/resolve/main/config.json',
    'facebook/xmod-large-prenorm': 'https://huggingface.co/facebook/xmod-large-prenorm/resolve/main/config.json',
    'facebook/xmod-base-13-125k': 'https://huggingface.co/facebook/xmod-base-13-125k/resolve/main/config.json',
    'facebook/xmod-base-30-125k': 'https://huggingface.co/facebook/xmod-base-30-125k/resolve/main/config.json',
    'facebook/xmod-base-30-195k': 'https://huggingface.co/facebook/xmod-base-30-195k/resolve/main/config.json',
    'facebook/xmod-base-60-125k': 'https://huggingface.co/facebook/xmod-base-60-125k/resolve/main/config.json',
    'facebook/xmod-base-60-265k': 'https://huggingface.co/facebook/xmod-base-60-265k/resolve/main/config.json',
    'facebook/xmod-base-75-125k': 'https://huggingface.co/facebook/xmod-base-75-125k/resolve/main/config.json',
    'facebook/xmod-base-75-269k': 'https://huggingface.co/facebook/xmod-base-75-269k/resolve/main/config.json',
}






class   __UpperCAmelCase		(      __lowerCAmelCase      ):
				A__ :  Dict    				=			'''xmod'''

				def __init__( self      ,					_lowerCamelCase=30522      ,					_lowerCamelCase=768      ,					_lowerCamelCase=12      ,					_lowerCamelCase=12      ,					_lowerCamelCase=3072      ,					_lowerCamelCase="gelu"      ,					_lowerCamelCase=0.1      ,					_lowerCamelCase=0.1      ,					_lowerCamelCase=512      ,					_lowerCamelCase=2      ,					_lowerCamelCase=0.0_2      ,					_lowerCamelCase=1E-12      ,					_lowerCamelCase=1      ,					_lowerCamelCase=0      ,					_lowerCamelCase=2      ,					_lowerCamelCase="absolute"      ,					_lowerCamelCase=True      ,					_lowerCamelCase=None      ,					_lowerCamelCase=False      ,					_lowerCamelCase=2      ,					_lowerCamelCase=False      ,					_lowerCamelCase=True      ,					_lowerCamelCase=True      ,					_lowerCamelCase=("en_XX",)      ,					_lowerCamelCase=None      ,					**_lowerCamelCase      ,					):
										super().__init__(pad_token_id=_lowerCamelCase      ,					bos_token_id=_lowerCamelCase      ,					eos_token_id=_lowerCamelCase      ,					**_lowerCamelCase )

										lowerCamelCase__   =vocab_size
										lowerCamelCase__   =hidden_size
										lowerCamelCase__   =num_hidden_layers
										lowerCamelCase__   =num_attention_heads
										lowerCamelCase__   =hidden_act
										lowerCamelCase__   =intermediate_size
										lowerCamelCase__   =hidden_dropout_prob
										lowerCamelCase__   =attention_probs_dropout_prob
										lowerCamelCase__   =max_position_embeddings
										lowerCamelCase__   =type_vocab_size
										lowerCamelCase__   =initializer_range
										lowerCamelCase__   =layer_norm_eps
										lowerCamelCase__   =position_embedding_type
										lowerCamelCase__   =use_cache
										lowerCamelCase__   =classifier_dropout
										lowerCamelCase__   =pre_norm
										lowerCamelCase__   =adapter_reduction_factor
										lowerCamelCase__   =adapter_layer_norm
										lowerCamelCase__   =adapter_reuse_layer_norm
										lowerCamelCase__   =ln_before_adapter
										lowerCamelCase__   =list(_lowerCamelCase )
										lowerCamelCase__   =default_language






class   __UpperCAmelCase		(      __lowerCAmelCase      ):

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



"""simple docstring"""


def      lowerCamelCase_					(   __lowerCAmelCase							)				->   bool:




						'''simple docstring'''



						return number & 1 == 0


if __name__ == "__main__":
	import doctest

	doctest.testmod()


