mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-04-28 02:23:52 +02:00
Add Inference of SWE-bench for Data Interpreter
This commit is contained in:
parent
ef3be47f28
commit
1c8caee7a8
1 changed files with 1 additions and 0 deletions
|
|
@ -106,6 +106,7 @@ async def main(
|
|||
model_nickname = Path(model_name_or_path).name
|
||||
output_file = f"{model_nickname}__{dataset_name_or_path.split('/')[-1]}__{split}"
|
||||
output_file = Path(output_dir, output_file + ".jsonl")
|
||||
output_file.parent.mkdir(parents=True, exist_ok=True)
|
||||
logger.info(f"Will write to {output_file}")
|
||||
existing_ids = set()
|
||||
if os.path.exists(output_file):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue