






'''simple docstring'''




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


lowerCAmelCase__ 							=    logging.get_logger(__name__)

lowerCAmelCase__ 							=    {
    'facebook/vit-mae-base': 'https://huggingface.co/facebook/vit-mae-base/resolve/main/config.json',
    # See all ViT MAE models at https://huggingface.co/models?filter=vit-mae
}







class    __lowercase       (__lowerCamelCase     ):
	_lowerCamelCase														=	'''vit_mae'''

	def __init__(   self :    str	,       UpperCAmelCase_ :    str=768	,       UpperCAmelCase_ :    Tuple=12	,       UpperCAmelCase_ :    str=12	,       UpperCAmelCase_ :    int=3_072	,       UpperCAmelCase_ :    str="gelu"	,       UpperCAmelCase_ :    Optional[int]=0.0	,       UpperCAmelCase_ :    List[Any]=0.0	,       UpperCAmelCase_ :    Union[str, Any]=0.02	,       UpperCAmelCase_ :    List[Any]=1e-12	,       UpperCAmelCase_ :    List[str]=224	,       UpperCAmelCase_ :    Tuple=16	,       UpperCAmelCase_ :    str=3	,       UpperCAmelCase_ :    List[str]=True	,       UpperCAmelCase_ :    str=16	,       UpperCAmelCase_ :    List[Any]=512	,       UpperCAmelCase_ :    Tuple=8	,       UpperCAmelCase_ :    Optional[int]=2_048	,       UpperCAmelCase_ :    str=0.75	,       UpperCAmelCase_ :    Any=False	,       **UpperCAmelCase_ :    Any	,       ):
			super().__init__(**lowerCamelCase__)

			UpperCamelCase__					:       Optional[Any]       =       hidden_size
			UpperCamelCase__					:       Tuple       =       num_hidden_layers
			UpperCamelCase__					:       Union[str, Any]       =       num_attention_heads
			UpperCamelCase__					:       List[Any]       =       intermediate_size
			UpperCamelCase__					:       Union[str, Any]       =       hidden_act
			UpperCamelCase__					:       List[str]       =       hidden_dropout_prob
			UpperCamelCase__					:       Any       =       attention_probs_dropout_prob
			UpperCamelCase__					:       int       =       initializer_range
			UpperCamelCase__					:       Optional[Any]       =       layer_norm_eps
			UpperCamelCase__					:       Union[str, Any]       =       image_size
			UpperCamelCase__					:       Dict       =       patch_size
			UpperCamelCase__					:       Dict       =       num_channels
			UpperCamelCase__					:       Union[str, Any]       =       qkv_bias
			UpperCamelCase__					:       int       =       decoder_num_attention_heads
			UpperCamelCase__					:       Union[str, Any]       =       decoder_hidden_size
			UpperCamelCase__					:       Any       =       decoder_num_hidden_layers
			UpperCamelCase__					:       int       =       decoder_intermediate_size
			UpperCamelCase__					:       Tuple       =       mask_ratio
			UpperCamelCase__					:       str       =       norm_pix_loss










def      lowerCamelCase_						(			UpperCamelCase__							: str )	->			list:





				"""simple docstring"""


				if n_term == "":
								return []
				__lowerCamelCase									=       []
				for temp in range(int(UpperCamelCase__ ) ):
								series.append(F"""1/{temp + 1}""" if series else '1' )
				return series


if __name__ == "__main__":
					__A								=       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))


