HELM integration for GDB (GraphicDesignBench) — run GDB benchmarks via helm-run
Project description
lica-gdb-helm
HELM integration for GDB (GraphicDesignBench) — run all 39 GDB benchmarks through Stanford CRFM's HELM framework.
Install
pip install lica-gdb-helm
This installs lica-gdb and crfm-helm as dependencies. For benchmarks with heavier metrics:
pip install "lica-gdb-helm[svg]" # SVG rendering metrics (LPIPS, SSIM, CLIP)
pip install "lica-gdb-helm[layout]" # Layout generation metrics (NIMA, HPS, FID)
pip install "lica-gdb-helm[full]" # Everything
Usage
# Run a single benchmark
helm-run --run-entries gdb:benchmark_id=category-1,model=openai/gpt-4o \
--suite gdb-eval --max-eval-instances 50
# Run multiple benchmarks
helm-run --run-entries gdb:benchmark_id=svg-1,model=openai/gpt-4o \
gdb:benchmark_id=svg-2,model=openai/gpt-4o \
--suite gdb-eval
# Summarize and view results
helm-summarize --suite gdb-eval
helm-server --suite gdb-eval
Available benchmarks
All 39 GDB benchmarks are available. Pass any benchmark ID:
| Domain | Benchmark IDs |
|---|---|
| Category | category-1, category-2 |
| Layout | layout-1 through layout-8 |
| SVG | svg-1 through svg-8 |
| Template | template-1 through template-5 |
| Temporal | temporal-1 through temporal-6 |
| Typography | typography-1 through typography-8 |
| Lottie | lottie-1, lottie-2 |
Options
| Parameter | Description |
|---|---|
benchmark_id |
Required. GDB benchmark ID (e.g. svg-1) |
dataset_root |
Optional. Path to local GDB dataset. Defaults to HuggingFace Hub |
max_samples |
Optional. Limit number of samples loaded from GDB |
How it works
This package is a thin adapter (~300 lines) that translates between HELM and GDB types. All benchmark logic — data loading, prompt construction, output parsing, and metric computation — is delegated to the lica-gdb package. Metrics from HELM runs are identical to standalone GDB evaluation.
Development
cd integrations/helm
pip install -e "../../[hub]" # install lica-gdb in editable mode
pip install -e . # install lica-gdb-helm in editable mode
# Test with HELM's built-in echo model
helm-run --run-entries gdb:benchmark_id=category-1,model=simple/model1 \
--suite test --max-eval-instances 5
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lica_gdb_helm-0.1.2.tar.gz.
File metadata
- Download URL: lica_gdb_helm-0.1.2.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ebb73cd4028a4168365f80a9da850c3e231e24dbe5e946747ae1c874c1f76be9
|
|
| MD5 |
5a5123b6d446d5809070e0444fca2605
|
|
| BLAKE2b-256 |
d99faf7dc0da21932ff6c8b70ab16c718d4aa8221c3cfda14918da666d245cd7
|
File details
Details for the file lica_gdb_helm-0.1.2-py3-none-any.whl.
File metadata
- Download URL: lica_gdb_helm-0.1.2-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
90d2e41bd035b014ba411c9d98a0ec3abbe99f663ec87ceb289e4a7c4b2a1244
|
|
| MD5 |
f651062896d7dabe1d2dbda88e3fbb97
|
|
| BLAKE2b-256 |
afbc480cb47c392b2c03569110f1a5d07c4c616b965a25cd6fcfb1e32dc30d52
|