




import os
import sys

UpperCAmelCase_									=	os.path.join(os.path.dirname(__file__), 'src')
sys.path.append(SRC_DIR)


from transformers import (
    AutoConfig,
    AutoModel,
    AutoModelForCausalLM,
    AutoModelForMaskedLM,
    AutoModelForQuestionAnswering,
    AutoModelForSequenceClassification,
    AutoTokenizer,
    add_start_docstrings,
)


UpperCAmelCase_									=	[
    'torch',
    'numpy',
    'tokenizers',
    'filelock',
    'requests',
    'tqdm',
    'regex',
    'sentencepiece',
    'sacremoses',
    'importlib_metadata',
    'huggingface_hub',
]




@add_start_docstrings(AutoConfig.__doc__	)
def 					lowerCamelCase__       (						*A__       :					Optional[int]  ,			**A__       :					Optional[Any]	):





       '''simple docstring'''



       return AutoConfig.from_pretrained(*A__  ,			**A__	)




@add_start_docstrings(AutoTokenizer.__doc__	)
def 					lowerCamelCase__       (						*A__       :					Dict  ,			**A__       :					str	):





       '''simple docstring'''



       return AutoTokenizer.from_pretrained(*A__  ,			**A__	)




@add_start_docstrings(AutoModel.__doc__	)
def 					lowerCamelCase__       (						*A__       :					Optional[int]  ,			**A__       :					Any	):





       '''simple docstring'''



       return AutoModel.from_pretrained(*A__  ,			**A__	)




@add_start_docstrings(AutoModelForCausalLM.__doc__	)
def 					lowerCamelCase__       (						*A__       :					List[str]  ,			**A__       :					List[str]	):





       '''simple docstring'''



       return AutoModelForCausalLM.from_pretrained(*A__  ,			**A__	)




@add_start_docstrings(AutoModelForMaskedLM.__doc__	)
def 					lowerCamelCase__       (						*A__       :					Union[str, Any]  ,			**A__       :					int	):





       '''simple docstring'''



       return AutoModelForMaskedLM.from_pretrained(*A__  ,			**A__	)




@add_start_docstrings(AutoModelForSequenceClassification.__doc__	)
def 					lowerCamelCase__       (						*A__       :					Optional[int]  ,			**A__       :					List[Any]	):





       '''simple docstring'''



       return AutoModelForSequenceClassification.from_pretrained(*A__  ,			**A__	)




@add_start_docstrings(AutoModelForQuestionAnswering.__doc__	)
def 					lowerCamelCase__       (						*A__       :					Optional[int]  ,			**A__       :					int	):





       '''simple docstring'''



       return AutoModelForQuestionAnswering.from_pretrained(*A__  ,			**A__	)




"""simple docstring"""





from collections.abc import Sequence




def   _A  (  UpperCamelCase_     :       Sequence[float],			UpperCamelCase_     :       float)	->						float:
   '''simple docstring'''


   return sum(c * (x**i) for i, c in enumerate(UpperCamelCase_))




def   _A  (  UpperCamelCase_     :       Sequence[float],			UpperCamelCase_     :       float)	->						float:
   '''simple docstring'''


   __lowercase								=						0.0
   for coeff in reversed(UpperCamelCase_):
      __lowercase								=						result * x + coeff
   return result


if __name__ == "__main__":
   _a       =							(0.0, 0.0, 5.0, 9.3, 7.0)
   _a       =							10.0
   print(evaluate_poly(poly, x))
   print(horner(poly, x))




