mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-04-28 10:26:32 +02:00
Final Version
This commit is contained in:
parent
95bed6e8e8
commit
92e520ded2
8 changed files with 1 additions and 92 deletions
|
|
@ -54,7 +54,7 @@ ## Quick Start
|
|||
4. When you first run, you can download the datasets and initial rounds by setting `download(["datasets", "initial_rounds"])` in `examples/aflow/optimize.py`
|
||||
5. (Optional) Add your custom dataset and corresponding evaluation function following the [Custom Datasets](#custom-datasets) section
|
||||
6. (Optional) If you want to use a portion of the validation data, you can set `va_list` in `examples/aflow/evaluator.py`
|
||||
6. Run `python examples/aflow/optimize.py` to start the optimization process!
|
||||
6. Run `python -m examples.aflow.optimize` to start the optimization process!
|
||||
|
||||
|
||||
## Reproduce the Results in the Paper
|
||||
|
|
|
|||
|
|
@ -3,19 +3,6 @@
|
|||
# @Author : didi
|
||||
# @Desc : Entrance of AFlow.
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
||||
|
||||
def setup_environment():
|
||||
current_path = os.path.abspath(__file__)
|
||||
root_path = os.path.dirname(os.path.dirname(os.path.dirname(os.path.dirname(current_path))))
|
||||
sys.path.insert(0, root_path)
|
||||
os.chdir(root_path)
|
||||
|
||||
|
||||
setup_environment()
|
||||
|
||||
from metagpt.configs.models_config import ModelsConfig
|
||||
from metagpt.ext.aflow.scripts.optimizer import DatasetType, Optimizer, QuestionType
|
||||
|
||||
|
|
|
|||
|
|
@ -3,19 +3,6 @@
|
|||
# @Author : didi
|
||||
# @Desc : Entrance of AFlow.
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
||||
|
||||
def setup_environment():
|
||||
current_path = os.path.abspath(__file__)
|
||||
root_path = os.path.dirname(os.path.dirname(os.path.dirname(os.path.dirname(current_path))))
|
||||
sys.path.insert(0, root_path)
|
||||
os.chdir(root_path)
|
||||
|
||||
|
||||
setup_environment()
|
||||
|
||||
from metagpt.configs.models_config import ModelsConfig
|
||||
from metagpt.ext.aflow.scripts.optimizer import DatasetType, Optimizer, QuestionType
|
||||
|
||||
|
|
|
|||
|
|
@ -3,19 +3,6 @@
|
|||
# @Author : didi
|
||||
# @Desc : Entrance of AFlow.
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
||||
|
||||
def setup_environment():
|
||||
current_path = os.path.abspath(__file__)
|
||||
root_path = os.path.dirname(os.path.dirname(os.path.dirname(os.path.dirname(current_path))))
|
||||
sys.path.insert(0, root_path)
|
||||
os.chdir(root_path)
|
||||
|
||||
|
||||
setup_environment()
|
||||
|
||||
from metagpt.configs.models_config import ModelsConfig
|
||||
from metagpt.ext.aflow.scripts.optimizer import DatasetType, Optimizer, QuestionType
|
||||
|
||||
|
|
|
|||
|
|
@ -3,19 +3,6 @@
|
|||
# @Author : didi
|
||||
# @Desc : Entrance of AFlow.
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
||||
|
||||
def setup_environment():
|
||||
current_path = os.path.abspath(__file__)
|
||||
root_path = os.path.dirname(os.path.dirname(os.path.dirname(os.path.dirname(current_path))))
|
||||
sys.path.insert(0, root_path)
|
||||
os.chdir(root_path)
|
||||
|
||||
|
||||
setup_environment()
|
||||
|
||||
from metagpt.configs.models_config import ModelsConfig
|
||||
from metagpt.ext.aflow.scripts.optimizer import DatasetType, Optimizer, QuestionType
|
||||
|
||||
|
|
|
|||
|
|
@ -3,19 +3,6 @@
|
|||
# @Author : didi
|
||||
# @Desc : Entrance of AFlow.
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
||||
|
||||
def setup_environment():
|
||||
current_path = os.path.abspath(__file__)
|
||||
root_path = os.path.dirname(os.path.dirname(os.path.dirname(os.path.dirname(current_path))))
|
||||
sys.path.insert(0, root_path)
|
||||
os.chdir(root_path)
|
||||
|
||||
|
||||
setup_environment()
|
||||
|
||||
from metagpt.configs.models_config import ModelsConfig
|
||||
from metagpt.ext.aflow.scripts.optimizer import DatasetType, Optimizer, QuestionType
|
||||
|
||||
|
|
|
|||
|
|
@ -3,19 +3,6 @@
|
|||
# @Author : didi
|
||||
# @Desc : Entrance of AFlow.
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
||||
|
||||
def setup_environment():
|
||||
current_path = os.path.abspath(__file__)
|
||||
root_path = os.path.dirname(os.path.dirname(os.path.dirname(current_path)))
|
||||
sys.path.insert(0, root_path)
|
||||
os.chdir(root_path)
|
||||
|
||||
|
||||
setup_environment()
|
||||
|
||||
from metagpt.configs.models_config import ModelsConfig
|
||||
from metagpt.ext.aflow.scripts.optimizer import DatasetType, Optimizer, QuestionType
|
||||
|
||||
|
|
|
|||
|
|
@ -3,19 +3,6 @@
|
|||
# @Author : didi
|
||||
# @Desc : Entrance of AFlow.
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
||||
|
||||
def setup_environment():
|
||||
current_path = os.path.abspath(__file__)
|
||||
root_path = os.path.dirname(os.path.dirname(os.path.dirname(current_path)))
|
||||
sys.path.insert(0, root_path)
|
||||
os.chdir(root_path)
|
||||
|
||||
|
||||
setup_environment()
|
||||
|
||||
from metagpt.configs.models_config import ModelsConfig
|
||||
from metagpt.ext.aflow.data.download_data import download
|
||||
from metagpt.ext.aflow.scripts.optimizer import DatasetType, Optimizer, QuestionType
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue