



'''simple docstring'''


import os
import sys

lowercase							       =			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,
)


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






@add_start_docstrings(AutoConfig.__doc__       )
def  UpperCAmelCase_       (		*lowercase__       ,	**lowercase__       ):


     '''simple docstring'''







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






@add_start_docstrings(AutoTokenizer.__doc__       )
def  UpperCAmelCase_       (		*lowercase__       ,	**lowercase__       ):


     '''simple docstring'''







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






@add_start_docstrings(AutoModel.__doc__       )
def  UpperCAmelCase_       (		*lowercase__       ,	**lowercase__       ):


     '''simple docstring'''







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






@add_start_docstrings(AutoModelForCausalLM.__doc__       )
def  UpperCAmelCase_       (		*lowercase__       ,	**lowercase__       ):


     '''simple docstring'''







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






@add_start_docstrings(AutoModelForMaskedLM.__doc__       )
def  UpperCAmelCase_       (		*lowercase__       ,	**lowercase__       ):


     '''simple docstring'''







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






@add_start_docstrings(AutoModelForSequenceClassification.__doc__       )
def  UpperCAmelCase_       (		*lowercase__       ,	**lowercase__       ):


     '''simple docstring'''







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






@add_start_docstrings(AutoModelForQuestionAnswering.__doc__       )
def  UpperCAmelCase_       (		*lowercase__       ,	**lowercase__       ):


     '''simple docstring'''







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







'''simple docstring'''


import os
from math import logaa






def  UpperCAmelCase_       (		lowercase__ = "base_exp.txt"       ):


     '''simple docstring'''







     a_       		=0
     a_       		=0
     for i, line in enumerate(open(os.path.join(os.path.dirname(lowercase__       )       ,	lowercase__       )       )       ):
          a_		,						a_       		=list(map(lowercase__       ,	line.split(","       )       )       )
          if x * logaa(lowercase__       ) > largest:
               a_       		=x * logaa(lowercase__       )
               a_       		=i + 1
     return result


if __name__ == "__main__":
  print(solution())


