Xingyao Wang 81b3cd71b3 [eval] log evaluating warnings directly to console (#4026) hai 1 ano
..
EDA 090c911a50 (refactor) Make `Runtime` class synchronous (#3661) hai 1 ano
agent_bench 090c911a50 (refactor) Make `Runtime` class synchronous (#3661) hai 1 ano
aider_bench dbb671a8a5 logname fix; improve test calling instruction (#3666) hai 1 ano
biocoder 090c911a50 (refactor) Make `Runtime` class synchronous (#3661) hai 1 ano
bird 090c911a50 (refactor) Make `Runtime` class synchronous (#3661) hai 1 ano
browsing_delegation 090c911a50 (refactor) Make `Runtime` class synchronous (#3661) hai 1 ano
gaia 090c911a50 (refactor) Make `Runtime` class synchronous (#3661) hai 1 ano
gorilla 090c911a50 (refactor) Make `Runtime` class synchronous (#3661) hai 1 ano
gpqa 090c911a50 (refactor) Make `Runtime` class synchronous (#3661) hai 1 ano
humanevalfix 090c911a50 (refactor) Make `Runtime` class synchronous (#3661) hai 1 ano
logic_reasoning 52c5abccbf (enh) Dockerfile.j2: improve env vars for bash and activate in .bashrc (#3871) hai 1 ano
miniwob 797f02ff6f rename huggingface evaluation benchmark (#3845) hai 1 ano
mint 52c5abccbf (enh) Dockerfile.j2: improve env vars for bash and activate in .bashrc (#3871) hai 1 ano
ml_bench 090c911a50 (refactor) Make `Runtime` class synchronous (#3661) hai 1 ano
regression 8fdfece059 Refactor messages serialization (#3832) hai 1 ano
static b2fdb963b6 Add detailed tutorial for adding new evaluation benchmarks (#1827) hai 1 ano
swe_bench c84495830e [eval] update swe_bench/README.md (#3990) hai 1 ano
toolqa 090c911a50 (refactor) Make `Runtime` class synchronous (#3661) hai 1 ano
utils 81b3cd71b3 [eval] log evaluating warnings directly to console (#4026) hai 1 ano
webarena 797f02ff6f rename huggingface evaluation benchmark (#3845) hai 1 ano
README.md 797f02ff6f rename huggingface evaluation benchmark (#3845) hai 1 ano
__init__.py 2406b901df feat(SWE-Bench environment) integrate SWE-Bench sandbox (#1468) hai 1 ano

README.md

Evaluation

This folder contains code and resources to run experiments and evaluations.

Logistics

To better organize the evaluation folder, we should follow the rules below:

  • Each subfolder contains a specific benchmark or experiment. For example, evaluation/swe_bench should contain all the preprocessing/evaluation/analysis scripts.
  • Raw data and experimental records should not be stored within this repo.
  • For model outputs, they should be stored at this huggingface space for visualization.
  • Important data files of manageable size and analysis scripts (e.g., jupyter notebooks) can be directly uploaded to this repo.

Supported Benchmarks

To learn more about how to integrate your benchmark into OpenHands, check out tutorial here.

Software Engineering

Web Browsing

Misc. Assistance

Before everything begins: Setup Environment and LLM Configuration

Please follow instruction here to setup your local development environment and LLM.

OpenHands in development mode uses config.toml to keep track of most configurations.

Here's an example configuration file you can use to define and use multiple LLMs:

[llm]
# IMPORTANT: add your API key here, and set the model to the one you want to evaluate
model = "gpt-4o-2024-05-13"
api_key = "sk-XXX"

[llm.eval_gpt4_1106_preview_llm]
model = "gpt-4-1106-preview"
api_key = "XXX"
temperature = 0.0

[llm.eval_some_openai_compatible_model_llm]
model = "openai/MODEL_NAME"
base_url = "https://OPENAI_COMPATIBLE_URL/v1"
api_key = "XXX"
temperature = 0.0

Result Visualization

Check this huggingface space for visualization of existing experimental results.

Upload your results

You can start your own fork of our huggingface evaluation outputs and submit a PR of your evaluation results to our hosted huggingface repo via PR following the guide here.