returnf"""Below is an instruction that describes a task. Write a response that appropriately completes the request.\n\n### Instruction:\nSolve the following math problem without any tests or explanation only one answer surrounede by '$\\boxed{{}}$'\n{prompt}\n\n### Response:"""
returnf"""Below is an instruction that describes a task. Write a response that appropriately completes the request.\n\n### Instruction:\nComplete the following Python code without any tests or explanation\n{prompt}\n\n### Response:"""
defstandard_prompt(prompt:str)->str:
returnf"""Complete the following Python code without any tests or explanation\n{prompt}"""
defwrite_prompt(prompt:str)->str:
returnf"""Write a python program to complete the following code:\n{prompt}"""
defreplit_glaive_prompt(prompt:str)->str:
returnf"""Below is an instruction that describes a task, paired with an input that provides further context.\n Write a response that appropriately completes the request.\n\n ### Instruction:\nWrite a program to perform the given task.\n\n Input:\n{prompt}\n\n### Response:"""
hint='There is a single choice question. Answer the question by replying A, B, C, D, E, F, G, H, I, J. No other answers are accepted. Just the letter.'
classDataEvaluator:
def__init__(self):
# self.template_prompt = template_prompt
self.data=[]
defload_data(self,file_path):
"""
Load data from a Parquet file into a list.
Each record in the Parquet file should represent an individual record.