From 5eaa072d8d3abd2e5a8f587179e2ae7e5c9bc023 Mon Sep 17 00:00:00 2001 From: Yizhou Chi Date: Fri, 18 Oct 2024 16:05:24 +0800 Subject: [PATCH] add an instruction to avoid splitting instruction being replaced --- expo/insights/instruction_generator.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/expo/insights/instruction_generator.py b/expo/insights/instruction_generator.py index 78b32e45d..ab9b2cc67 100644 --- a/expo/insights/instruction_generator.py +++ b/expo/insights/instruction_generator.py @@ -8,7 +8,7 @@ from expo.utils import clean_json_from_rsp, load_data_config, mcts_logger from metagpt.llm import LLM from metagpt.schema import Message -REFLECTION_SYSTEM_MSG = "As a Kaggle grandmaster participating in a competition, you need to analyze your experience and propose evolutionary points that are more likely to improve the performance of baseline code." +REFLECTION_SYSTEM_MSG = "As a Kaggle Grandmaster competing in a challenge, your task is to suggest potential evolutionary improvements that could enhance the performance of the baseline code." CHANGE_INSTRUCTION = """ # Original instruction @@ -17,7 +17,9 @@ CHANGE_INSTRUCTION = """ # Insights {insights} -Rewrite the original instruction according to the insights +Rewrite the original instruction according to the insights +(If the original instruction involves splitting the data, ensure that your insights are integrated with the data split instructions, +rather than replacing them.) # Expected Output Hard Format ```json