


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


lowerCamelCase						=		logging.get_logger(__name__)

lowerCamelCase						=		{
    '''unc-nlp/lxmert-base-uncased''': '''https://huggingface.co/unc-nlp/lxmert-base-uncased/resolve/main/config.json''',
}





class 					_a							(				_lowerCAmelCase):
	_a  :  Any          =							'''lxmert'''
	_a  :  int          =							{}




	def __init__(					self						:		int		,					_SCREAMING_SNAKE_CASE						:		Union[str, Any]=3_0522		,					_SCREAMING_SNAKE_CASE						:		Dict=768		,					_SCREAMING_SNAKE_CASE						:		Tuple=12		,					_SCREAMING_SNAKE_CASE						:		Any=9500		,					_SCREAMING_SNAKE_CASE						:		Any=1600		,					_SCREAMING_SNAKE_CASE						:		Union[str, Any]=400		,					_SCREAMING_SNAKE_CASE						:		Optional[int]=3072		,					_SCREAMING_SNAKE_CASE						:		str="gelu"		,					_SCREAMING_SNAKE_CASE						:		List[Any]=0.1		,					_SCREAMING_SNAKE_CASE						:		Tuple=0.1		,					_SCREAMING_SNAKE_CASE						:		int=512		,					_SCREAMING_SNAKE_CASE						:		Optional[Any]=2		,					_SCREAMING_SNAKE_CASE						:		Dict=0.02		,					_SCREAMING_SNAKE_CASE						:		Tuple=1E-12		,					_SCREAMING_SNAKE_CASE						:		Optional[int]=9		,					_SCREAMING_SNAKE_CASE						:		Union[str, Any]=5		,					_SCREAMING_SNAKE_CASE						:		Any=5		,					_SCREAMING_SNAKE_CASE						:		Optional[Any]=2048		,					_SCREAMING_SNAKE_CASE						:		Optional[int]=4		,					_SCREAMING_SNAKE_CASE						:		List[Any]=6.67		,					_SCREAMING_SNAKE_CASE						:		Union[str, Any]=True		,					_SCREAMING_SNAKE_CASE						:		List[Any]=True		,					_SCREAMING_SNAKE_CASE						:		List[str]=True		,					_SCREAMING_SNAKE_CASE						:		Any=True		,					_SCREAMING_SNAKE_CASE						:		Optional[Any]=True		,					_SCREAMING_SNAKE_CASE						:		Union[str, Any]=True		,					_SCREAMING_SNAKE_CASE						:		str=True		,					**_SCREAMING_SNAKE_CASE						:		str		,					)->       List[str]:
			lowerCAmelCase__   :			Union[str, Any]         =					vocab_size
			lowerCAmelCase__   :			List[Any]         =					hidden_size
			lowerCAmelCase__   :			Optional[Any]         =					num_attention_heads
			lowerCAmelCase__   :			Any         =					hidden_act
			lowerCAmelCase__   :			List[Any]         =					intermediate_size
			lowerCAmelCase__   :			Optional[Any]         =					hidden_dropout_prob
			lowerCAmelCase__   :			Union[str, Any]         =					attention_probs_dropout_prob
			lowerCAmelCase__   :			Optional[Any]         =					max_position_embeddings
			lowerCAmelCase__   :			List[Any]         =					type_vocab_size
			lowerCAmelCase__   :			str         =					initializer_range
			lowerCAmelCase__   :			List[Any]         =					layer_norm_eps
			lowerCAmelCase__   :			List[Any]         =					num_qa_labels
			lowerCAmelCase__   :			int         =					num_object_labels
			lowerCAmelCase__   :			Optional[Any]         =					num_attr_labels
			lowerCAmelCase__   :			Union[str, Any]         =					l_layers
			lowerCAmelCase__   :			Dict         =					x_layers
			lowerCAmelCase__   :			Optional[int]         =					r_layers
			lowerCAmelCase__   :			Tuple         =					visual_feat_dim
			lowerCAmelCase__   :			Any         =					visual_pos_dim
			lowerCAmelCase__   :			Tuple         =					visual_loss_normalizer
			lowerCAmelCase__   :			Any         =					task_matched
			lowerCAmelCase__   :			Optional[int]         =					task_mask_lm
			lowerCAmelCase__   :			Any         =					task_obj_predict
			lowerCAmelCase__   :			Any         =					task_qa
			lowerCAmelCase__   :			Union[str, Any]         =					visual_obj_loss
			lowerCAmelCase__   :			Optional[Any]         =					visual_attr_loss
			lowerCAmelCase__   :			Tuple         =					visual_feat_loss
			lowerCAmelCase__   :			Any         =					{"vision": r_layers, "cross_encoder": x_layers, "language": l_layers}
			super().__init__(**_SCREAMING_SNAKE_CASE		)











'''simple docstring'''


def 							UpperCAmelCase_  (						__lowerCamelCase					:					int = 1_00 ):
   lowercase_			:Tuple    			= n * (n + 1) * (2 * n + 1) / 6
   lowercase_			:List[str]    			= (n * (n + 1) / 2) ** 2
   return int(square_of_sum - sum_of_squares )


if __name__ == "__main__":
 print(F'''{solution() = }''')


