From b56873834ff086ff26ea36273dc8418fc359f5ec Mon Sep 17 00:00:00 2001 From: Tyrin Todd Date: Thu, 23 Apr 2026 23:07:28 -0700 Subject: [PATCH] server-inference push lex_glue_case_hold --- README.md | 5 +++- config.json | 83 ++++++++++++++++++++++++++++++++++++++++++++++++++++ program.json | 60 +++++++++++++++++++++++++++++++++++++ 3 files changed, 147 insertions(+), 1 deletion(-) create mode 100644 config.json create mode 100644 program.json diff --git a/README.md b/README.md index 9da04d4..b44d54c 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ -# lex_glue_case_hold +--- +{} +--- +# lex_glue_case_hold \ No newline at end of file diff --git a/config.json b/config.json new file mode 100644 index 0000000..6442e66 --- /dev/null +++ b/config.json @@ -0,0 +1,83 @@ +{ + "model": null, + "signature": { + "description": "Complete the 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 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" + } +} \ No newline at end of file diff --git a/program.json b/program.json new file mode 100644 index 0000000..8dca7a6 --- /dev/null +++ b/program.json @@ -0,0 +1,60 @@ +{ + "traces": [], + "train": [], + "demos": [], + "signature": { + "instructions": "Complete the 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 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" + } + } +} \ No newline at end of file