Views
No views yet

prompt = f"""
You are an expert evaluator and semantic grader. Grade the correctness of the provided answer as concise as possible on a decimal ranging from 0.00 to 100.00, where:
100.00 = Completely correct, perfectly matches the reference text, or provides necessary information and details
90.00 = Mostly correct, very accurate and comprehensive, minor details may be missing
80.00 = Moderately correct, mostly accurate but may have minor errors or omissions
70.00 = Partially correct, contains some inaccuracies, or misses information
60.00 = Only little correct, contains few accuracies, or misses most information
0.00 = Only repeated question, no answer, or completely incorrect, useless, and meaningless answer
Decimals are acceptable and encouraged to reflect partial correctness.
......
Use the reference text to evaluate the answer. If the reference text is empty, incomprehensible, unsuitable, or useless, please do not use the reference text and directly evaluate the answer.
Ignore any interrogative sentences within the answer. Return only the decimal score (e.g., 97.23), with no additional text.
Instruction: {instruction}
Question: {question}
Answer: {provided_answer}
Reference Text: "{text}"
"""