





'''simple docstring'''

def 							UpperCAmelCase_    (	lowerCAmelCase_		,							lowerCAmelCase_							):

				"""simple docstring"""






				return base * power(lowerCAmelCase_		,							(exponent - 1)							) if exponent else 1


if __name__ == "__main__":
			print("Raise base to the power of exponent using recursion...")
			__lowerCamelCase : Optional[Any]											=			int(input("Enter the base: ").strip())
			__lowerCamelCase : Optional[Any]											=			int(input("Enter the exponent: ").strip())
			__lowerCamelCase : str											=			power(base, abs(exponent))
			if exponent < 0:  # power() does not properly deal w/ negative exponents
						__lowerCamelCase : Optional[Any]											=			1 / result
			print(f"{base} to the power of {exponent} is {result}")











'''simple docstring'''

from collections import OrderedDict
from typing import Mapping

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


__lowerCamelCase : List[str]											=			logging.get_logger(__name__)

__lowerCamelCase : str											=			{
    "facebook/data2vec-text-base": "https://huggingface.co/data2vec/resolve/main/config.json",
}

class       UpperCAmelCase (						_lowercase  ):
		UpperCAmelCase					:	List[str] 			=		'''data2vec-text'''




		def __init__(self      :	List[str]							,			A__      :	str=3_0_5_2_2							,			A__      :	Tuple=7_6_8							,			A__      :	Any=1_2							,			A__      :	Optional[int]=1_2							,			A__      :	str=3_0_7_2							,			A__      :	List[str]="gelu"							,			A__      :	List[Any]=0.1							,			A__      :	Optional[int]=0.1							,			A__      :	Union[str, Any]=5_1_2							,			A__      :	Any=2							,			A__      :	str=0.0_2							,			A__      :	int=1e-12							,			A__      :	Union[str, Any]=1							,			A__      :	Optional[int]=0							,			A__      :	Union[str, Any]=2							,			A__      :	Optional[int]="absolute"							,			A__      :	Tuple=True							,			A__      :	int=None							,			**A__      :	Any							,			)					-> Any:
						super().__init__(pad_token_id=A__							,			bos_token_id=A__							,			eos_token_id=A__							,			**A__				)

						lowercase         = vocab_size
						lowercase         = hidden_size
						lowercase         = num_hidden_layers
						lowercase         = num_attention_heads
						lowercase         = hidden_act
						lowercase         = intermediate_size
						lowercase         = hidden_dropout_prob
						lowercase         = attention_probs_dropout_prob
						lowercase         = max_position_embeddings
						lowercase         = type_vocab_size
						lowercase         = initializer_range
						lowercase         = layer_norm_eps
						lowercase         = position_embedding_type
						lowercase         = use_cache
						lowercase         = classifier_dropout




class       UpperCAmelCase (						_lowercase  ):




		@property
		def 				UpperCAmelCase__   (self      :	List[str]				)					-> Mapping[str, Mapping[int, str]]:
						if self.task == "multiple-choice":
										lowercase         = {0: "batch", 1: "choice", 2: "sequence"}
						else:
										lowercase         = {0: "batch", 1: "sequence"}
						return OrderedDict(
						    [
						        ("input_ids", dynamic_axis),
						        ("attention_mask", dynamic_axis),
						    ]				)




