Views
No views yet
YESciEval-ASK-Llama-3.1-8B is a multidisciplinary judge tuned on the ORKGSyn dataset from the Open Research Knowledge Graph.YESciEval library via PiP:pip install yescieval1from yescieval import Readability, AskAutoJudge
2
3# Sample papers with following format {"title": "abstract", ... }
4papers = {
5 "A Study on AI": "This paper discusses recent advances in artificial intelligence, including deep learning.",
6 "Machine Learning Basics": "An overview of supervised learning methods such as decision trees and SVMs.",
7 "Neural Networks Explained": "Explains backpropagation and gradient descent for training networks.",
8 "Ethics in AI": "Explores ethical concerns in automated decision-making systems.",
9 "Applications of AI in Healthcare": "Details how AI improves diagnostics and personalized medicine."
10}
11
12# Question and synthesized answer
13question = "How is AI used in modern healthcare systems?"
14answer = (
15 "AI is being used in healthcare for diagnosing diseases, predicting patient outcomes, "
16 "and assisting in treatment planning. It also supports personalized medicine and medical imaging."
17)
18
19# Step 1: Create a rubric
20rubric = Readability(papers=papers, question=question, answer=answer)
21
22# Step 2: Load a judge model
23 judge = AskAutoJudge()
24judge.from_pretrained(token="your_huggingface_token")
25
26# Step 3: Evaluate the answer
27result = judge.evaluate(rubric=rubric)
28print("Raw Evaluation Output:")
29print(result)yescieval. The following simple example shows how to import rubrics in your code:1from yescieval import Informativeness, Correctness, Completeness,
2 Coherence, Relevancy, Integration,
3 Cohesion, Readability, Conciseness1@article{d2025yescieval,
2 title={YESciEval: Robust LLM-as-a-Judge for Scientific Question Answering},
3 author={D'Souza, Jennifer and Giglou, Hamed Babaei and M{\"u}nch, Quentin},
4 journal={arXiv preprint arXiv:2505.14279},
5 year={2025}
6}