Skip to content

Commit

Permalink
update ds_assistant
Browse files Browse the repository at this point in the history
  • Loading branch information
dahaipeng committed Jul 25, 2024
1 parent 49c50d2 commit 428401a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions modelscope_agent/tools/metagpt_tools/task_type.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@
MODEL_TRAIN_PROMPT = """
The current task is about training a model, please ensure high performance:
- If non-numeric columns exist, perform label encode together with all steps.
- Try to use the best model such as RandomForest, XGBoost, if these models casued timeout error or \
other issues, please try other models, don't stick to the same model.
- If the model caused timeout error, please don't use this model again.
- Use the data from previous task result directly, do not mock or reload data yourself.
- Never save the model to a file.
Expand All @@ -48,8 +50,7 @@
# Prompt for taking on "model_evaluate" tasks
MODEL_EVALUATE_PROMPT = """
The current task is about evaluating a model, please note the following:
- Ensure that the evaluated data is same processed as the training data. If not, remember \
use object in 'Done Tasks' to transform the data.
- Ensure that the evaluated data is same processed as the training data.
- Use trained model from previous task result directly, do not mock or reload model yourself.
"""

Expand Down

0 comments on commit 428401a

Please sign in to comment.