yueqis 9757f362bf Update run_infer.py of gorilla to download my-languages.so (#3286) 1 年之前
..
EDA bdf6df12c3 fix: pip not available in runtime (#3306) 1 年之前
agent_bench bdf6df12c3 fix: pip not available in runtime (#3306) 1 年之前
biocoder b30a2dd87a completely remove update_source_code (#3280) 1 年之前
bird bdf6df12c3 fix: pip not available in runtime (#3306) 1 年之前
browsing_delegation bdf6df12c3 fix: pip not available in runtime (#3306) 1 年之前
gaia bdf6df12c3 fix: pip not available in runtime (#3306) 1 年之前
gorilla 9757f362bf Update run_infer.py of gorilla to download my-languages.so (#3286) 1 年之前
gpqa bdf6df12c3 fix: pip not available in runtime (#3306) 1 年之前
humanevalfix bdf6df12c3 fix: pip not available in runtime (#3306) 1 年之前
logic_reasoning b30a2dd87a completely remove update_source_code (#3280) 1 年之前
miniwob b30a2dd87a completely remove update_source_code (#3280) 1 年之前
mint b30a2dd87a completely remove update_source_code (#3280) 1 年之前
ml_bench b30a2dd87a completely remove update_source_code (#3280) 1 年之前
regression 275ea706cf Remove remaining global config (#3099) 1 年之前
static b2fdb963b6 Add detailed tutorial for adding new evaluation benchmarks (#1827) 1 年之前
swe_bench b30a2dd87a completely remove update_source_code (#3280) 1 年之前
toolqa bdf6df12c3 fix: pip not available in runtime (#3306) 1 年之前
utils 31b244f95e [Refactor, Evaluation] Refactor and clean up evaluation harness to remove global config and use EventStreamRuntime (#3230) 1 年之前
webarena bdf6df12c3 fix: pip not available in runtime (#3306) 1 年之前
README.md 7270d21cf9 update documentation for evaluation tutorial 1 年之前
__init__.py 2406b901df feat(SWE-Bench environment) integrate SWE-Bench sandbox (#1468) 1 年之前

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.
  • 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 OpenDevin, 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.

OpenDevin 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.