Small Benchmarks for LM Agents
Project description
SmallBench
Small, simple agent task environments for training and evaluation.
Designed to challenge a broad spectrum of lm-agent abilities.
Spinning Up
uv venv smallbench-dev
source smallbench-dev/bin/activate
uv sync
uv run ruff format .
Easy Benchmarks
BigCodeBench - Agent Harness
This benchmark provides a stateful environment for lm-based agents to solve coding problems from the BigCodeBench dataset. Agents are given a scratchpad (soon), a way to prepare and use unit tests, editing handlers, and a way to submit their solution.
Please see the BigCodeBench page for more information about the underlying dataset.
Get Started
Local
add GROQ_API_KEY and any other API keys supported by the apropos-ai library to the .env file.
- Note: Groq, Google, and possibly other providers offer free tiers.
If you use a Docker backend, ensure you have the Docker app running. If you use Modal, please add all necessary credentials.
Then, run the test script:
uv run python -m src.smallbench.benchmarks.bcb_a.test
Colab
Check out the Colab if you prefer to run the benchmark in the cloud.
Medium Benchmarks
TBD
Hard Benchmarks
TBD
Difficult Benchmarks
TBD
Scores
BigCodeBench - Agent Harness
LM | Number Correct | Success Rate | Sample Size | Avg. Cost Per Run |
---|---|---|---|---|
gpt-4o-2024-08-06 | 8 | 16% | 50 | $0.057 |
deepseek-v2.5 | 5 | 10% | 50 | $0.0029 |
gpt-4o-mini-2024-07-18 | 5 | 10% | 50 | $0.003 |
gemini-1.5-flash-latest | 3 | 06% | 50 | $0.0018 |
Animation credits: ZZ
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for smallbench-0.1.14-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ac6a55e2a8558c58cbe9f81cb1ed9a1624366a6ab1bc02de30c475a6623683b |
|
MD5 | 670ee496cc41ba500e4254f8564c56e7 |
|
BLAKE2b-256 | 920e2994e5dc3e3404de4dad17068e09f6d2f8981e35129bf9db2a7e802205a3 |