MetaGPT/test.py

12 lines
372 B
Python
Raw Normal View History

2024-07-31 18:19:11 +08:00
# -*- coding: utf-8 -*-
# @Date : 6/27/2024 18:00 PM
# @Author : didi
# @Desc : test on humaneval graph
import asyncio
2024-08-01 14:20:40 +08:00
2024-07-31 18:19:11 +08:00
from examples.ags.benchmark.humaneval import sample_generate, samples_generate
2024-08-01 14:20:40 +08:00
asyncio.run(sample_generate("HumanEval/id", result_path="result_path", mode="alpha"))
asyncio.run(samples_generate(mode="alpha_codium", result_path="result_path"))