server-inference push lex_glue_case_hold
This commit is contained in:
83
config.json
Normal file
83
config.json
Normal file
@@ -0,0 +1,83 @@
|
|||||||
|
{
|
||||||
|
"model": null,
|
||||||
|
"signature": {
|
||||||
|
"description": "Complete the <HOLDING> slot by selecting the correct ending option. 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": {
|
||||||
|
"context": {
|
||||||
|
"__dspy_field_type": "input",
|
||||||
|
"desc": "Case context with a <HOLDING> marker.",
|
||||||
|
"prefix": "Context:",
|
||||||
|
"title": "Context",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"option_a": {
|
||||||
|
"__dspy_field_type": "input",
|
||||||
|
"desc": "Ending option A.",
|
||||||
|
"prefix": "Option A:",
|
||||||
|
"title": "Option A",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"option_b": {
|
||||||
|
"__dspy_field_type": "input",
|
||||||
|
"desc": "Ending option B.",
|
||||||
|
"prefix": "Option B:",
|
||||||
|
"title": "Option B",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"option_c": {
|
||||||
|
"__dspy_field_type": "input",
|
||||||
|
"desc": "Ending option C.",
|
||||||
|
"prefix": "Option C:",
|
||||||
|
"title": "Option C",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"option_d": {
|
||||||
|
"__dspy_field_type": "input",
|
||||||
|
"desc": "Ending option D.",
|
||||||
|
"prefix": "Option D:",
|
||||||
|
"title": "Option D",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"option_e": {
|
||||||
|
"__dspy_field_type": "input",
|
||||||
|
"desc": "Ending option E.",
|
||||||
|
"prefix": "Option E:",
|
||||||
|
"title": "Option E",
|
||||||
|
"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"
|
||||||
|
},
|
||||||
|
"selected_option": {
|
||||||
|
"__dspy_field_type": "output",
|
||||||
|
"desc": "Final selected option: one of A, B, C, D, E.",
|
||||||
|
"enum": [
|
||||||
|
"A",
|
||||||
|
"B",
|
||||||
|
"C",
|
||||||
|
"D",
|
||||||
|
"E"
|
||||||
|
],
|
||||||
|
"prefix": "Selected Option:",
|
||||||
|
"title": "Selected Option",
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"context",
|
||||||
|
"option_a",
|
||||||
|
"option_b",
|
||||||
|
"option_c",
|
||||||
|
"option_d",
|
||||||
|
"option_e",
|
||||||
|
"reasoning",
|
||||||
|
"selected_option"
|
||||||
|
],
|
||||||
|
"title": "LexGlueCaseHoldJudgeSig",
|
||||||
|
"type": "object"
|
||||||
|
}
|
||||||
|
}
|
||||||
60
program.json
Normal file
60
program.json
Normal file
@@ -0,0 +1,60 @@
|
|||||||
|
{
|
||||||
|
"traces": [],
|
||||||
|
"train": [],
|
||||||
|
"demos": [],
|
||||||
|
"signature": {
|
||||||
|
"instructions": "Complete the <HOLDING> slot by selecting the correct ending option. 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": "Context:",
|
||||||
|
"description": "Case context with a <HOLDING> marker."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"prefix": "Option A:",
|
||||||
|
"description": "Ending option A."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"prefix": "Option B:",
|
||||||
|
"description": "Ending option B."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"prefix": "Option C:",
|
||||||
|
"description": "Ending option C."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"prefix": "Option D:",
|
||||||
|
"description": "Ending option D."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"prefix": "Option E:",
|
||||||
|
"description": "Ending option E."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"prefix": "Reasoning:",
|
||||||
|
"description": "Step-by-step reasoning, including uncertainty, ambiguity, or uncertainty in your thought process when relevant."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"prefix": "Selected Option:",
|
||||||
|
"description": "Final selected option: one of A, B, C, D, E."
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"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"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user