Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Benchmark on APPS dataset #1025

Closed
wants to merge 0 commits into from
Closed

Benchmark on APPS dataset #1025

wants to merge 0 commits into from

Conversation

azrv
Copy link
Contributor

@azrv azrv commented Feb 21, 2024

This PR adds an ability to benchmark gpt-engineer on problems given in APPS dataset

How to run?
python3 gpt_engineer/benchmark gpt_engineer/core/default/simple_agent.py apps

Original Issue: #819

from gpt_engineer.core.files_dict import FilesDict
from datasets import load_dataset, load_from_disk, Dataset, DatasetDict

DATASET_PATH = "gpt_engineer/benchmark/benchmarks/apps/dataset"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make this path absolute, so that it doesn't depend on the working directory.

Suggested change
DATASET_PATH = "gpt_engineer/benchmark/benchmarks/apps/dataset"
from pathlib import Path
DATASET_PATH = Path(__file__).parent / "dataset"

@AntonOsika
Copy link
Owner

Looking forward to have apps merged!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants