server-inference push halueval_summarization

This commit is contained in:
2026-04-23 23:09:20 -07:00
parent cf9437b2cf
commit db9157fbcc
3 changed files with 96 additions and 1 deletions

48
config.json Normal file
View File

@@ -0,0 +1,48 @@
{
"model": null,
"signature": {
"description": "Determine whether the summary is hallucinated given the source document.As you reason, note any uncertainties, ambiguities, and gaps \u2014 both in how the instructions apply to the task at hand and in whether you have the knowledge needed to solve it. Be honest in your reasoning when you are unsure about your answer.",
"properties": {
"document": {
"__dspy_field_type": "input",
"desc": "Source document that the summary should reflect.",
"prefix": "Document:",
"title": "Document",
"type": "string"
},
"summary": {
"__dspy_field_type": "input",
"desc": "Summary to evaluate for hallucination.",
"prefix": "Summary:",
"title": "Summary",
"type": "string"
},
"reasoning": {
"__dspy_field_type": "output",
"desc": "Step-by-step reasoning, including uncertainty, ambiguity, or uncertainty in your thought process when relevant.",
"prefix": "Reasoning:",
"title": "Reasoning",
"type": "string"
},
"hallucination": {
"__dspy_field_type": "output",
"desc": "Final hallucination label: 'yes' if the summary is hallucinated, otherwise 'no'.",
"enum": [
"yes",
"no"
],
"prefix": "Hallucination:",
"title": "Hallucination",
"type": "string"
}
},
"required": [
"document",
"summary",
"reasoning",
"hallucination"
],
"title": "HaluEvalSummarizationJudgeSig",
"type": "object"
}
}