From 1915d19f24156073db688ab1a4472d5d274ac126 Mon Sep 17 00:00:00 2001 From: duiyipan Date: Thu, 17 Oct 2024 21:28:49 +0800 Subject: [PATCH] update aide readme --- expo/README.md | 39 +-------------------------------------- 1 file changed, 1 insertion(+), 38 deletions(-) diff --git a/expo/README.md b/expo/README.md index 598de039d..a25f384b6 100644 --- a/expo/README.md +++ b/expo/README.md @@ -135,46 +135,15 @@ #### Setup git clone https://github.com/WecoAI/aideml.git ``` -修改 `aideml/aide/utils/config.yaml` 内容如下 +修改 `aideml/aide/utils/config.yaml` 其中的 `step` `k_fold_validation` `code model` `feedback model` 参数如下 ```yaml -# path to the task data directory -data_dir: null - -# either provide a path to a plaintext file describing the task -desc_file: null -# or provide the task goal (and optionally evaluation information) as arguments -goal: null -eval: null - -log_dir: logs -workspace_dir: workspaces - -# whether to unzip any archives in the data directory -preprocess_data: True -# whether to copy the data to the workspace directory (otherwise it will be symlinked) -# copying is recommended to prevent the agent from accidentally modifying the original data -copy_data: True - -exp_name: null # a random experiment name will be generated if not provided - -# settings for code execution -exec: - timeout: 3600 - agent_file_name: runfile.py - format_tb_ipython: False - # agent hyperparams agent: # how many improvement iterations to run steps: 10 # whether to instruct the agent to use CV (set to 1 to disable) k_fold_validation: 1 - # whether to instruct the agent to generate a prediction function - expose_prediction: False - # whether to provide the agent with a preview of the data - data_preview: True - # LLM settings for coding code: model: deepseek-coder @@ -184,12 +153,6 @@ # LLM settings for evaluating program output / tracebacks feedback: model: deepseek-coder temp: 0.5 - - # hyperparameters for the tree search - search: - max_debug_depth: 3 - debug_prob: 0.5 - num_drafts: 5 ``` 由于 deepseek 完全兼容 OpenAI 的 API,修改`base_url`为`自己的url`,`api_key`为`自己的key`即可