Xingyao Wang 001195a3ea reduce the duplication in run_controller (#3217) před 1 rokem
..
prompts 01296ff79d Add remaining subsets for MINT benchmark (#2142) před 1 rokem
scripts cab7a288ca Add NUM_WORKERS variable to run_infer.sh scripts for configurable woker settings (#2597) před 1 rokem
tasks 8f76587e5c docs: updated docstrings using ruff's autofix feature (#2923) před 1 rokem
.gitignore 9434bcce48 Support MINT benchmark (MATH, GSM8K subset) (#1955) před 1 rokem
README.md 917d96e06f Fix doc error in evals (#2654) před 1 rokem
config_variables.py 01296ff79d Add remaining subsets for MINT benchmark (#2142) před 1 rokem
datatypes.py 0584e428b2 [Mint evaluation] Fix bug in stopping when the agent reaches max steps or solution proposals (#2268) před 1 rokem
env.py d37b2973b2 Refactoring: event stream based agent history (#2709) před 1 rokem
requirements.txt 01296ff79d Add remaining subsets for MINT benchmark (#2142) před 1 rokem
run_infer.py 001195a3ea reduce the duplication in run_controller (#3217) před 1 rokem
utils.py 8f76587e5c docs: updated docstrings using ruff's autofix feature (#2923) před 1 rokem

README.md

MINT Benchmark

This folder contains the evaluation harness for the MINT benchmark on LLMs' ability to solve tasks with multi-turn interactions.

Configure OpenDevin and LM

Create a config.toml file if it does not exist at the root of the workspace. Please check README.md for how to set this up.

Start the evaluation

We are using the MINT dataset hosted on Hugging Face.

Following is the basic command to start the evaluation. Currently, the only agent supported with MINT is CodeActAgent.

./evaluation/mint/scripts/run_infer.sh [model_config] [git-version] [subset] [eval_limit]

where model_config is mandatory, while others are optional.

  • model_config, e.g. eval_gpt4_1106_preview, is the config group name for your LLM settings, as defined in your config.toml.

  • git-version, e.g. HEAD, is the git commit hash of the OpenDevin version you would like to evaluate. It could also be a release tag like 0.6.2.

  • subset, e.g. math, is the subset of the MINT benchmark to evaluate on, defaulting to math. It can be either: math, gsm8k, mmlu, theoremqa, mbpp,humaneval.

  • eval_limit, e.g. 2, limits the evaluation to the first eval_limit instances, defaulting to all instances.

Note: in order to use eval_limit, you must also set subset.

For example,

./evaluation/swe_bench/scripts/run_infer.sh eval_gpt4_1106_preview 0.6.2 gsm8k 3

Reference

@misc{wang2024mint,
    title={MINT: Evaluating LLMs in Multi-turn Interaction with Tools and Language Feedback},
    author={Xingyao Wang and Zihan Wang and Jiateng Liu and Yangyi Chen and Lifan Yuan and Hao Peng and Heng Ji},
    year={2024},
    eprint={2309.10691},
    archivePrefix={arXiv},
    primaryClass={cs.CL}
}