server-inference push sem_eval_2010_task_8

This commit is contained in:
2026-04-23 23:07:05 -07:00
parent fa09aa49f6
commit 9db6fde7b1
3 changed files with 101 additions and 1 deletions

View File

@@ -1,2 +1,5 @@
# sem_eval_2010_task_8
---
{}
---
# sem_eval_2010_task_8

57
config.json Normal file
View File

@@ -0,0 +1,57 @@
{
"model": null,
"signature": {
"description": "Classify the semantic relation in the sentence using SemEval 2010 Task 8 labels. 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": {
"sentence": {
"__dspy_field_type": "input",
"desc": "Sentence containing the entity pair relation.",
"prefix": "Sentence:",
"title": "Sentence",
"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"
},
"relation_label": {
"__dspy_field_type": "output",
"desc": "Final relation label from: Cause-Effect(e1,e2), Cause-Effect(e2,e1), Component-Whole(e1,e2), Component-Whole(e2,e1), Content-Container(e1,e2), Content-Container(e2,e1), Entity-Destination(e1,e2), Entity-Destination(e2,e1), Entity-Origin(e1,e2), Entity-Origin(e2,e1), Instrument-Agency(e1,e2), Instrument-Agency(e2,e1), Member-Collection(e1,e2), Member-Collection(e2,e1), Message-Topic(e1,e2), Message-Topic(e2,e1), Product-Producer(e1,e2), Product-Producer(e2,e1), Other.",
"enum": [
"Cause-Effect(e1,e2)",
"Cause-Effect(e2,e1)",
"Component-Whole(e1,e2)",
"Component-Whole(e2,e1)",
"Content-Container(e1,e2)",
"Content-Container(e2,e1)",
"Entity-Destination(e1,e2)",
"Entity-Destination(e2,e1)",
"Entity-Origin(e1,e2)",
"Entity-Origin(e2,e1)",
"Instrument-Agency(e1,e2)",
"Instrument-Agency(e2,e1)",
"Member-Collection(e1,e2)",
"Member-Collection(e2,e1)",
"Message-Topic(e1,e2)",
"Message-Topic(e2,e1)",
"Product-Producer(e1,e2)",
"Product-Producer(e2,e1)",
"Other"
],
"prefix": "Relation Label:",
"title": "Relation Label",
"type": "string"
}
},
"required": [
"sentence",
"reasoning",
"relation_label"
],
"title": "SemEvalRelationJudgeSig",
"type": "object"
}
}

40
program.json Normal file
View File

@@ -0,0 +1,40 @@
{
"traces": [],
"train": [],
"demos": [],
"signature": {
"instructions": "Classify the semantic relation in the sentence using SemEval 2010 Task 8 labels. 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.",
"fields": [
{
"prefix": "Sentence:",
"description": "Sentence containing the entity pair relation."
},
{
"prefix": "Reasoning:",
"description": "Step-by-step reasoning, including uncertainty, ambiguity, or uncertainty in your thought process when relevant."
},
{
"prefix": "Relation Label:",
"description": "Final relation label from: Cause-Effect(e1,e2), Cause-Effect(e2,e1), Component-Whole(e1,e2), Component-Whole(e2,e1), Content-Container(e1,e2), Content-Container(e2,e1), Entity-Destination(e1,e2), Entity-Destination(e2,e1), Entity-Origin(e1,e2), Entity-Origin(e2,e1), Instrument-Agency(e1,e2), Instrument-Agency(e2,e1), Member-Collection(e1,e2), Member-Collection(e2,e1), Message-Topic(e1,e2), Message-Topic(e2,e1), Product-Producer(e1,e2), Product-Producer(e2,e1), Other."
}
]
},
"lm": {
"model": "together_ai/Qwen/Qwen2.5-7B-Instruct-Turbo",
"model_type": "chat",
"cache": true,
"num_retries": 3,
"finetuning_model": null,
"launch_kwargs": {},
"train_kwargs": {},
"temperature": null,
"max_tokens": null
},
"metadata": {
"dependency_versions": {
"python": "3.11",
"dspy": "3.1.3",
"cloudpickle": "3.1"
}
}
}