What belongs in a golden evaluation dataset?
Reveal the answer and explore the explanation.
01EasyCoreWhat belongs in a golden evaluation dataset?
Answer
EasyCore
What belongs in a golden evaluation dataset?
Answer
Curated set of representative inputs with reference answers or expected criteria.
Practical example
Check factual QA after changing a prompt.
PythonRelated concept example
cases = [{'expected':'yes','actual':'yes'}, {'expected':'no','actual':'yes'}]
accuracy = sum(c['expected']==c['actual'] for c in cases)/len(cases)
print(accuracy)Exact match is useful for constrained outputs; use richer rubrics for open answers.
Reference: Further reading ↗