




"""simple docstring"""




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


lowerCAmelCase							:    Optional[Any]  							=							logging.get_logger(__name__)

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






class 					__magic_name__							( UpperCAmelCase__       ):






				'''simple docstring'''
				__UpperCamelCase    						=		"lxmert"
				__UpperCamelCase    						=		{}





				def __init__( self	,				_a=30_522	,				_a=768	,				_a=12	,				_a=9_500	,				_a=1_600	,				_a=400	,				_a=3_072	,				_a="gelu"	,				_a=0.1	,				_a=0.1	,				_a=512	,				_a=2	,				_a=0.02	,				_a=1e-1_2	,				_a=9	,				_a=5	,				_a=5	,				_a=2_048	,				_a=4	,				_a=6.67	,				_a=True	,				_a=True	,				_a=True	,				_a=True	,				_a=True	,				_a=True	,				_a=True	,				**_a	,				):





							"""simple docstring"""
							lowerCamelCase       =      vocab_size
							lowerCamelCase       =      hidden_size
							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       =      num_qa_labels
							lowerCamelCase       =      num_object_labels
							lowerCamelCase       =      num_attr_labels
							lowerCamelCase       =      l_layers
							lowerCamelCase       =      x_layers
							lowerCamelCase       =      r_layers
							lowerCamelCase       =      visual_feat_dim
							lowerCamelCase       =      visual_pos_dim
							lowerCamelCase       =      visual_loss_normalizer
							lowerCamelCase       =      task_matched
							lowerCamelCase       =      task_mask_lm
							lowerCamelCase       =      task_obj_predict
							lowerCamelCase       =      task_qa
							lowerCamelCase       =      visual_obj_loss
							lowerCamelCase       =      visual_attr_loss
							lowerCamelCase       =      visual_feat_loss
							lowerCamelCase       =      {"""vision""": r_layers, """cross_encoder""": x_layers, """language""": l_layers}
							super().__init__(**_a				)









"""simple docstring"""




def 					a__				(       snake_case__       )		->      list:
			if n_term == "":
						return []
			lowerCamelCase       =      []
			for temp in range(int(snake_case__       )       ):
						series.append(F'1/{temp + 1}' if series else """1"""       )
			return series


if __name__ == "__main__":
					lowerCAmelCase							:    Optional[int]  							=							input("""Enter the last number (nth term) of the Harmonic Series""")
					print("""Formula of Harmonic Series => 1+1/2+1/3 ..... 1/n""")
					print(harmonic_series(nth_term))



