


"""simple docstring"""







import os
import sys

a__       :							Dict        =  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,
)


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




@add_start_docstrings(AutoConfig.__doc__     )
def      UpperCAmelCase__ (*lowerCAmelCase_						,		**lowerCAmelCase_     ):




					'''simple docstring'''


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




@add_start_docstrings(AutoTokenizer.__doc__     )
def      UpperCAmelCase__ (*lowerCAmelCase_						,		**lowerCAmelCase_     ):




					'''simple docstring'''


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




@add_start_docstrings(AutoModel.__doc__     )
def      UpperCAmelCase__ (*lowerCAmelCase_						,		**lowerCAmelCase_     ):




					'''simple docstring'''


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




@add_start_docstrings(AutoModelForCausalLM.__doc__     )
def      UpperCAmelCase__ (*lowerCAmelCase_						,		**lowerCAmelCase_     ):




					'''simple docstring'''


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




@add_start_docstrings(AutoModelForMaskedLM.__doc__     )
def      UpperCAmelCase__ (*lowerCAmelCase_						,		**lowerCAmelCase_     ):




					'''simple docstring'''


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




@add_start_docstrings(AutoModelForSequenceClassification.__doc__     )
def      UpperCAmelCase__ (*lowerCAmelCase_						,		**lowerCAmelCase_     ):




					'''simple docstring'''


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




@add_start_docstrings(AutoModelForQuestionAnswering.__doc__     )
def      UpperCAmelCase__ (*lowerCAmelCase_						,		**lowerCAmelCase_     ):




					'''simple docstring'''


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




"""simple docstring"""







from abc import ABC, abstractmethod
from argparse import ArgumentParser




class 				UpperCamelCase_			(				UpperCamelCase):

	"""simple docstring"""





	@staticmethod
	@abstractmethod
	def 						UpperCAmelCase_   (				UpperCAmelCase__    :       ArgumentParser     ) ->			Optional[Any]:
						raise NotImplementedError()




	@abstractmethod
	def 						UpperCAmelCase_   (				self    :       Optional[Any]     ) ->			List[str]:
						raise NotImplementedError()
