philipstevens's picture
Add dataset card
aa5f0d9 verified
|
Raw History Blame Contribute Delete
2.79 kB
---
license: apache-2.0
task_categories:
- text-classification
- question-answering
tags:
- baseweight-benchmark
- benchmark
- fine-tuning
---
# Baseweight Benchmark — Prepared Data Splits
Prepared train / val / test splits for the tasks in the
[Baseweight Benchmark](https://baseweight.co/benchmark), a reproducible
comparison of fine-tuned open models against frontier APIs on focused vertical
tasks.
These files are the exact splits used to train and evaluate the published
adapters. Upload them alongside raw predictions so results can be independently
verified end-to-end.
## Tasks
| Task | Source dataset | Train | Val | Test | Metric |
|---|---|---|---|---|---|
| `banking77` | [PolyAI/banking77](https://huggingface.co/datasets/PolyAI/banking77) @ `refs/convert/parquet` | 4,996 | 256 | 500 | Weighted F1 |
| `cuad` | [theatticusproject/cuad-qa](https://huggingface.co/datasets/theatticusproject/cuad-qa) @ `refs/convert/parquet` | 2,998 | 400 | 3,713* | Token F1 |
\* CUAD test rows are sliding-window chunks (one per 750-word window across
each contract). The benchmark evaluates 500 questions; windows aggregate back
to question-level scores before metrics are computed.
## Sampling methodology
All splits were produced deterministically from source datasets using
`prepare_datasets.py` in the pipeline repo. Seed 42 throughout.
**banking77** — stratified by intent label, `min_per_group=35`, `total_cap=5000`
train; stratified `total_cap=500` test. Val carved before train sampling.
**cuad** — stratified by clause type, 50/50 answerable/no-answer balance,
`total_cap=3000` train; `total_cap=500` questions test (expanded to 3,713 windows).
Val carved before train sampling.
## Verifying your reproduction
Run `prepare_datasets.py` with the task config pinned to the same pipeline
commit recorded in each result row (`pipeline_commit` field in
`results.json`). SHA-256 the output files and compare against
`training_input_hash` in the dashboard data — a match confirms identical splits.
## File layout
```
prepared/
banking77/
train.jsonl # 4,996 rows
val.jsonl # 256 rows
test.jsonl # 500 rows
cuad/
train.jsonl # 2,998 rows
val.jsonl # 400 rows
test.jsonl # 3,713 rows (windowed)
```
## Links
- Benchmark site: [baseweight.co/benchmark](https://baseweight.co/benchmark)
- Pipeline code: [github.com/baseweight-ai/benchmark](https://github.com/baseweight-ai/benchmark)
- Fine-tuned adapters: [baseweight-ai/baseweight-benchmark-adapters](https://huggingface.co/collections/baseweight-ai/baseweight-benchmark-adapters-6a1613a5bee5213ab5e44936)
- Raw predictions: [baseweight-ai/baseweight-benchmark-predictions](https://huggingface.co/datasets/baseweight-ai/baseweight-benchmark-predictions)