
'''simple docstring'''
import operator as op







def 		A_(     A						:		Union[str, Any]):
							UpperCamelCase   			=     []
							UpperCamelCase   			=     lambda A		,     A: int(x / y)  # noqa: E731 integer division operation
							UpperCamelCase   			=     {
							    '^': op.pow,
							    '*': op.mul,
							    '/': div,
							    '+': op.add,
							    '-': op.sub,
							}  # operators & their respective operation

							# print table header
							print('Symbol'.center(8)		,     'Action'.center(12)		,     'Stack'		,     sep=' | ')
							print('-' * (30 + len(A)))

							for x in post_fix:
														if x.isdigit():  # if x in digit
																					stack.append(A)  # append x to stack
																					# output in tabular format
																					print(x.rjust(8)		,     ('push(' + x + ')').ljust(12)		,     ','.join(A)		,     sep=' | ')
														else:
																					UpperCamelCase   			=     stack.pop()  # pop stack
																					# output in tabular format
																					print(''.rjust(8)		,     ('pop(' + b + ')').ljust(12)		,     ','.join(A)		,     sep=' | ')

																					UpperCamelCase   			=     stack.pop()  # pop stack
																					# output in tabular format
																					print(''.rjust(8)		,     ('pop(' + a + ')').ljust(12)		,     ','.join(A)		,     sep=' | ')

																					stack.append(
																					    str(opr[x](int(A)		,     int(A))))  # evaluate the 2 values popped from stack & push result to stack
																					# output in tabular format
																					print(
																					    x.rjust(8)		,     ('push(' + a + x + b + ')').ljust(12)		,     ','.join(A)		,     sep=' | '		,     )

							return int(stack[0])


if __name__ == "__main__":
						lowerCAmelCase					:    Any           = input('\n\nEnter a Postfix Equation (space separated) = ').split(' ')
						print('\n\tResult = ', solve(Postfix))











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


UpperCAmelCase_           =	logging.get_logger(__name__)

UpperCAmelCase_           =	{
    "tiiuae/falcon-40b": "https://huggingface.co/tiiuae/falcon-40b/resolve/main/config.json",
    "tiiuae/falcon-7b": "https://huggingface.co/tiiuae/falcon-7b/resolve/main/config.json",
}




class 			__UpperCamelCase    (							A__    ):
     __A	:  Dict							  =   """falcon"""
     __A	:  Any							  =   ["""past_key_values"""]





     def __init__(     self				,							_UpperCamelCase=65024				,							_UpperCamelCase=4544				,							_UpperCamelCase=32				,							_UpperCamelCase=71				,							_UpperCamelCase=1e-5				,							_UpperCamelCase=0.02				,							_UpperCamelCase=True				,							_UpperCamelCase=0.0				,							_UpperCamelCase=0.0				,							_UpperCamelCase=None				,							_UpperCamelCase=False				,							_UpperCamelCase=False				,							_UpperCamelCase=True				,							_UpperCamelCase=True				,							_UpperCamelCase=False				,							_UpperCamelCase=11				,							_UpperCamelCase=11				,							**_UpperCamelCase				,							):
        _UpperCAmelCase           =   vocab_size
        # Backward compatibility with n_embed kwarg
        _UpperCAmelCase           =   kwargs.pop('''n_embed'''				,							_UpperCamelCase					)
        _UpperCAmelCase           =   hidden_size if n_embed is None else n_embed
        _UpperCAmelCase           =   num_hidden_layers
        _UpperCAmelCase           =   num_attention_heads
        _UpperCAmelCase           =   layer_norm_epsilon
        _UpperCAmelCase           =   initializer_range
        _UpperCAmelCase           =   use_cache
        _UpperCAmelCase           =   hidden_dropout
        _UpperCAmelCase           =   attention_dropout

        _UpperCAmelCase           =   bos_token_id
        _UpperCAmelCase           =   eos_token_id
        _UpperCAmelCase           =   num_attention_heads if num_kv_heads is None else num_kv_heads
        _UpperCAmelCase           =   alibi
        _UpperCAmelCase           =   new_decoder_architecture
        _UpperCAmelCase           =   multi_query  # Ignored when new_decoder_architecture is True
        _UpperCAmelCase           =   parallel_attn
        _UpperCAmelCase           =   bias

        super().__init__(bos_token_id=_UpperCamelCase				,							eos_token_id=_UpperCamelCase				,							**_UpperCamelCase					)





     @property
     def 		UpperCamelCase(     self					):
        return self.hidden_size // self.num_attention_heads





     @property
     def 		UpperCamelCase(     self					):
        return not self.alibi