From fb1efa3b4a0639d531296fb26e3e40c7ba4b564f Mon Sep 17 00:00:00 2001 From: Farouk Adeleke Date: Wed, 24 Dec 2025 00:34:33 -0800 Subject: [PATCH] (no commit message) --- config.json | 2 +- main.py | 4 ++-- program.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config.json b/config.json index f9db522..534768f 100644 --- a/config.json +++ b/config.json @@ -2,5 +2,5 @@ "model": "openai//models/checkpoint-5", "api_base": "https://modaic-ai--grpo-demo-serve.modal.run/v1", "max_tokens": 10000, - "temperature": 2 + "temperature": 0.7 } \ No newline at end of file diff --git a/main.py b/main.py index f16b8ee..2273329 100644 --- a/main.py +++ b/main.py @@ -5,7 +5,7 @@ class CodeGeneratorConfig(PrecompiledConfig): model : str = "openai//models/checkpoint-5" api_base : str = "https://modaic-ai--grpo-demo-serve.modal.run/v1" max_tokens : int = 10000 - temperature : float = 2 + temperature : float = 0.7 class CodeGeneration(dspy.Signature): @@ -32,6 +32,6 @@ class CodeGenerator(PrecompiledProgram): code_generator = CodeGenerator(CodeGeneratorConfig()) print(code_generator(query="Write a python function that returns the sum of two numbers.").code) -code_generator.push_to_hub("modaic/code-generator-trl-grpo", with_code=True, tag="v2") +code_generator.push_to_hub("modaic/code-generator-trl-grpo", with_code=True, tag="v2.0.1") \ No newline at end of file diff --git a/program.json b/program.json index 2f9d931..3c1ba30 100644 --- a/program.json +++ b/program.json @@ -24,7 +24,7 @@ "finetuning_model": null, "launch_kwargs": {}, "train_kwargs": {}, - "temperature": 2, + "temperature": 0.7, "max_tokens": 10000, "api_base": "https://modaic-ai--grpo-demo-serve.modal.run/v1" }