From cd9bfbc1b5e924c4cd7ae3bde37ed79820751d1f Mon Sep 17 00:00:00 2001 From: Farouk Adeleke Date: Wed, 24 Dec 2025 00:28:37 -0800 Subject: [PATCH] (no commit message) --- README.md | 2 -- config.json | 6 ++++++ program.json | 39 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 45 insertions(+), 2 deletions(-) create mode 100644 config.json create mode 100644 program.json diff --git a/README.md b/README.md index 5c66161..e69de29 100644 --- a/README.md +++ b/README.md @@ -1,2 +0,0 @@ -# code-generator-trl-grpo - diff --git a/config.json b/config.json new file mode 100644 index 0000000..9a4c2bc --- /dev/null +++ b/config.json @@ -0,0 +1,6 @@ +{ + "model": "openai//models/checkpoint-5", + "api_base": "https://modaic-ai--grpo-demo-serve.modal.run/v1", + "max_tokens": 1024, + "temperature": 0.7 +} \ No newline at end of file diff --git a/program.json b/program.json new file mode 100644 index 0000000..cbb9621 --- /dev/null +++ b/program.json @@ -0,0 +1,39 @@ +{ + "answer_question": { + "traces": [], + "train": [], + "demos": [], + "signature": { + "instructions": "Given the fields `query`, produce the fields `code`.", + "fields": [ + { + "prefix": "Query:", + "description": "${query}" + }, + { + "prefix": "Code:", + "description": "${code}" + } + ] + }, + "lm": { + "model": "openai//models/checkpoint-5", + "model_type": "chat", + "cache": true, + "num_retries": 3, + "finetuning_model": null, + "launch_kwargs": {}, + "train_kwargs": {}, + "temperature": 0.7, + "max_tokens": 1024, + "api_base": "https://modaic-ai--grpo-demo-serve.modal.run/v1" + } + }, + "metadata": { + "dependency_versions": { + "python": "3.13", + "dspy": "3.0.4", + "cloudpickle": "3.1" + } + } +} \ No newline at end of file