Add full dataset card: composition, licenses, usage, regeneration
Browse files
README.md
CHANGED
|
@@ -1,23 +1,82 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
splits:
|
| 13 |
-
- name: train
|
| 14 |
-
num_bytes: 2255353
|
| 15 |
-
num_examples: 3331
|
| 16 |
-
download_size: 2167034
|
| 17 |
-
dataset_size: 2255353
|
| 18 |
-
configs:
|
| 19 |
-
- config_name: default
|
| 20 |
-
data_files:
|
| 21 |
-
- split: train
|
| 22 |
-
path: data/train-*
|
| 23 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
license: cc-by-nc-sa-4.0
|
| 3 |
+
tags:
|
| 4 |
+
- evaluation
|
| 5 |
+
- benchmark
|
| 6 |
+
- mixed-traffic
|
| 7 |
+
- speculative-decoding
|
| 8 |
+
- large-language-models
|
| 9 |
+
pretty_name: SpecMix (Mixed-Traffic Speculative Decoding Evaluation Set)
|
| 10 |
+
size_categories:
|
| 11 |
+
- 1K<n<10K
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
---
|
| 13 |
+
|
| 14 |
+
# SpecMix
|
| 15 |
+
|
| 16 |
+
A fixed, shuffled **mixed-traffic evaluation set** for speculative decoding (draft-then-verify)
|
| 17 |
+
serving. SpecMix interleaves requests from 10 public benchmarks the way a real serving endpoint
|
| 18 |
+
sees traffic, so throughput at high concurrency can be measured on a realistic mixture instead of
|
| 19 |
+
one homogeneous domain at a time. It is the mixed-traffic benchmark used in the SpecForge-DC
|
| 20 |
+
evaluation pipeline.
|
| 21 |
+
|
| 22 |
+
## Composition
|
| 23 |
+
|
| 24 |
+
| # | Source | Rows | Source license | Source (Hugging Face) |
|
| 25 |
+
|---|---------------|-----:|-----------------------|--------------------------------------------------|
|
| 26 |
+
| 1 | gsm8k | 500 | MIT | [openai/gsm8k](https://huggingface.co/datasets/openai/gsm8k) |
|
| 27 |
+
| 2 | math500 | 500 | MIT (via prm800k) | [HuggingFaceH4/MATH-500](https://huggingface.co/datasets/HuggingFaceH4/MATH-500) |
|
| 28 |
+
| 3 | aime25 | 30 | CC-BY-NC-SA-4.0 | [MathArena/aime_2025](https://huggingface.co/datasets/MathArena/aime_2025) |
|
| 29 |
+
| 4 | humaneval | 164 | MIT | [openai/openai_humaneval](https://huggingface.co/datasets/openai/openai_humaneval) |
|
| 30 |
+
| 5 | mbpp | 257 | CC-BY-4.0 | [google-research-datasets/mbpp](https://huggingface.co/datasets/google-research-datasets/mbpp) |
|
| 31 |
+
| 6 | livecodebench | 500 | gated (terms apply) | [livecodebench/livecodebench](https://huggingface.co/datasets/livecodebench/livecodebench) |
|
| 32 |
+
| 7 | mt-bench | 80 | NC (see below) | [lmsys/mt-bench](https://huggingface.co/datasets/lmsys/mt-bench) |
|
| 33 |
+
| 8 | alpaca | 500 | CC-BY-NC-4.0 | [tatsu-lab/alpaca](https://huggingface.co/datasets/tatsu-lab/alpaca) |
|
| 34 |
+
| 9 | arena-hard | 500 | Apache-2.0 (card); real user queries | [lmarena-ai/arena-hard-auto-v0.1](https://huggingface.co/datasets/lmarena-ai/arena-hard-auto-v0.1) |
|
| 35 |
+
| 10| swe-bench | 300 | MIT | [princeton-nlp/SWE-bench_Lite](https://huggingface.co/datasets/princeton-nlp/SWE-bench_Lite) |
|
| 36 |
+
| | **Total** |**3331**| | |
|
| 37 |
+
|
| 38 |
+
Rows are the first N of each source (per the quota above), merged and shuffled with a fixed
|
| 39 |
+
seed (`42`), so the mix is frozen and reproducible.
|
| 40 |
+
|
| 41 |
+
## Fields
|
| 42 |
+
|
| 43 |
+
- `turns` — single-element list with the already-formatted prompt (identical string to what the
|
| 44 |
+
per-dataset evaluation path produces).
|
| 45 |
+
- `source` — originating dataset name.
|
| 46 |
+
- `source_index` — row index inside that dataset (for cross-referencing).
|
| 47 |
+
- `gold` — gold answer for scorable sources (`gsm8k`, `math500`, `aime25`; 1,030 rows), `""` otherwise.
|
| 48 |
+
Gold answers are numeric only; no code or patch content is included in this dataset.
|
| 49 |
+
|
| 50 |
+
## Usage
|
| 51 |
+
|
| 52 |
+
```python
|
| 53 |
+
from datasets import load_dataset
|
| 54 |
+
ds = load_dataset("wingchiuloong/specmix", split="train")
|
| 55 |
+
print(ds[0])
|
| 56 |
+
```
|
| 57 |
+
|
| 58 |
+
## Regeneration
|
| 59 |
+
|
| 60 |
+
This dataset is generated by `scripts/build_specmix_dataset.py` in the
|
| 61 |
+
[SpecForge-Domino](https://github.com/longyongchao/ErnieSpec) repository:
|
| 62 |
+
|
| 63 |
+
```bash
|
| 64 |
+
python scripts/build_specmix_dataset.py # writes cache/dataset/specmix (seed=42)
|
| 65 |
+
```
|
| 66 |
+
|
| 67 |
+
## License and terms
|
| 68 |
+
|
| 69 |
+
- This combined dataset is distributed under **CC-BY-NC-SA-4.0** (the most restrictive license
|
| 70 |
+
among its sources, determined by `aime25` CC-BY-NC-SA-4.0 and `alpaca`/`mt-bench` CC-BY-NC-4.0).
|
| 71 |
+
**Research / non-commercial use only.**
|
| 72 |
+
- Each component remains under its original license; refer to the source links above for full
|
| 73 |
+
terms. `mbpp` (CC-BY-4.0) requires attribution, which is provided here.
|
| 74 |
+
- `aime25` problem statements are © the Mathematical Association of America (MAA), as released by
|
| 75 |
+
[MathArena](https://matharena.ai/).
|
| 76 |
+
- `livecodebench`, `lmsys/mt-bench` and `lmsys/lmsys-chat-1m` are gated on Hugging Face and
|
| 77 |
+
subject to their own terms of use. `arena-hard` rows are real user queries from Chatbot Arena;
|
| 78 |
+
they may contain personal data. Please respect the terms of the underlying sources when using
|
| 79 |
+
the corresponding rows.
|
| 80 |
+
- If you are a rights holder of any source and would like this dataset removed or adjusted,
|
| 81 |
+
please open an issue on the [SpecForge-Domino](https://github.com/longyongchao/ErnieSpec)
|
| 82 |
+
repository.
|