From 2219ef18370a0caf3d045d7f664d8cc6153208ae Mon Sep 17 00:00:00 2001 From: Pawel Filipczuk Date: Mon, 31 Mar 2025 10:43:11 -0700 Subject: [PATCH 1/2] Fix approaches accessed before initializing --- optillm/cepo/cepo.py | 1 + 1 file changed, 1 insertion(+) diff --git a/optillm/cepo/cepo.py b/optillm/cepo/cepo.py index c6e8a362..f58d2694 100644 --- a/optillm/cepo/cepo.py +++ b/optillm/cepo/cepo.py @@ -254,6 +254,7 @@ def generate_n_completions(system_prompt: str, initial_query: str, client: Any, cb_log["system_prompt"] = system_prompt cb_log["initial_query"] = initial_query completions = [] + approaches = None # Generate Approach and Descriptions if cepo_config.use_plan_diversity: From 4b5ba5226ae7905e7a918a930972d990535c0cdb Mon Sep 17 00:00:00 2001 From: Pawel Filipczuk Date: Mon, 31 Mar 2025 15:30:45 -0700 Subject: [PATCH 2/2] Fix incorect default of rating_model in cepo config --- optillm/cepo/configs/cepo_config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/optillm/cepo/configs/cepo_config.yaml b/optillm/cepo/configs/cepo_config.yaml index 9c843372..27da0da5 100644 --- a/optillm/cepo/configs/cepo_config.yaml +++ b/optillm/cepo/configs/cepo_config.yaml @@ -13,5 +13,5 @@ planning_max_tokens_step2: 4096 planning_max_tokens_step3: 4096 planning_max_tokens_step4: 4096 use_plan_diversity: False -rating_model: None +rating_model: null print_output: False \ No newline at end of file