ML-SpecBench / README.md
CiscoR's picture
ML-SpecBench: prompts (500, 20 languages) and results
7eafddf verified
|
Raw History Blame Contribute Delete
6.79 kB
metadata
license: other
license_name: apache-2.0-and-cc-by-sa-3.0
license_link: https://huggingface.co/datasets/Cis-Labs/ML-SpecBench#provenance-and-licences
pretty_name: ML-SpecBench
language:
  - en
  - zh
  - es
  - fr
  - de
  - ja
  - ar
  - pt
  - ru
  - ko
  - hi
  - tr
  - vi
  - pl
  - id
  - uk
  - da
  - th
  - bn
  - sw
multilinguality: multilingual
task_categories:
  - text-generation
size_categories:
  - n<1K
tags:
  - speculative-decoding
  - multilingual
  - benchmark
  - inference
  - vllm
configs:
  - config_name: prompts
    data_files: prompts.jsonl
    default: true
  - config_name: results
    data_files: results.jsonl

ML-SpecBench

A per-language benchmark of speculative decoding. 500 prompts, 25 in each of 20 languages, with the same source items in every language, and the measured acceptance and throughput of six decoding methods for Qwen/Qwen3.8-27B-FP8 served with vLLM 0.34.0 on one H100.

On these prompts the strongest public drafter for the model, z-lab DFlash2, accepts 3.88 tokens per verification step in English and 2.61 on average in the other 19 languages, against 2.97 and 2.70 for the model's built-in MTP head. Code, method and the full analysis: github.com/Cis-Labs-Hub/ml-specbench.

Configurations

prompts (500 rows). Languages: English, Chinese, Spanish, French, German, Japanese, Arabic, Portuguese, Russian, Korean, Hindi, Turkish, Vietnamese, Polish, Indonesian, Ukrainian, Danish, Thai, Bengali, Swahili. Per language: 10 chat, 5 instruct, 5 reasoning and 5 translation prompts.

field description
id row id
lang, lang_name ISO 639-1 code and English name
kind chat, instruct, reasoning or translation
prompt the user message
source source dataset (and subset)
source_id item id in the source; identical across languages within a block
source_revision pinned dataset revision
license, license_note licence of the source release, and the licence of the underlying data where it differs
fallback true where a language lacks the block's source and an extra Dolly item is used
script ISO 15924 script
joshi_class resource class after Joshi et al. (2020)

results (140 rows): one row per method and language. Methods: baseline (no speculation), mtp (the target's built-in MTP head, k=3), dflash-zlab, dflash-incoai, dflash-redhat, dspark-redhat (public drafters at pinned revisions, k=7), and dflash-cis, a multilingual fine-tune of the z-lab drafter from the accompanying study (not released).

field description
method, method_name, drafter, drafter_revision, k decoding method, drafter repository and revision, speculative tokens per step
lang, lang_name, joshi_class, n_prompts language and prompt count
accepted_length mean accepted length: 1 + accepted draft tokens / verification steps
acceptance_rate accepted / proposed draft tokens
accepted_length_at_3 accepted length if verification stopped after 3 draft tokens
accepted_length_matched accepted length on the instruct and translation items only (identical content in every language)
accepted_length_by_kind accepted length per prompt kind
acceptance_histogram verification steps by number of accepted draft tokens
tok_s_c1, tok_s_c8 output tokens/s at concurrency 1 (3 prompts per language) and 8 (all 25, static waves of 8)
speedup_c1, speedup_c8 relative to baseline at the same concurrency
tok_s_c8_vs_mtp tok_s_c8 relative to mtp
output_equals_baseline_c1, output_equals_baseline_c8, common_prefix_share greedy output agreement with baseline
answer_in_prompt_language share of answers in the prompt's language
mean_output_tokens mean output length

Conditions: greedy decoding, at most 384 output tokens, thinking off, prefix caching off, vLLM 0.34.0, torch 2.14.0+cu130, one NVIDIA H100 80GB HBM3.

Provenance and licences

Every prompt row records its source, item id, dataset revision and licence. All four sources are Apache-2.0 releases. The 150 prompts drawn from the Aya Evaluation Suite derive from Dolly-15k and carry its CC-BY-SA-3.0 terms; the other 350 prompts and the result rows are Apache-2.0.

source revision rows notes
CohereLabs/m-ArenaHard ab393a96cd0b134a1acfa96e080af31e5e73a393 160 Google-Translate (v3) translations of arena-hard-auto v0.1 prompts
CohereLabs/aya_evaluation_suite e69f652e99144bf9e5019caa6c940fa1e9a24ba3 150 Dolly-15k prompts (CC-BY-SA-3.0), NLLB translations; human-edited for ar, es, fr, hi, ru
CohereLabs/Global-MMLU 0e619dbeb34206cd48705a1a0ea7fb21cae09993 90 translations of MMLU (MIT), with an instruction to reason step by step and answer in the language
google/wmt24pp fd7405c06494bc66a57b25f55d217a72f96e60dc 100 English source segments with a translation instruction; English rows translate the German reference

Bengali and Swahili have no m-ArenaHard items, and Danish and Thai also have no Global-MMLU items; those slots use additional Dolly items (fallback: true).

The Dolly-derived prompts are adapted from databricks/databricks-dolly-15k (Databricks, Inc., CC BY-SA 3.0) through the translations in the Aya Evaluation Suite (Cohere Labs, Apache-2.0), and are redistributed under CC BY-SA 3.0. The other sources are redistributed under the Apache License 2.0.

Use

from datasets import load_dataset

prompts = load_dataset("Cis-Labs/ML-SpecBench", "prompts", split="train")
results = load_dataset("Cis-Labs/ML-SpecBench", "results", split="train")

To measure a model or drafter, run the harness from the GitHub repository; it rebuilds the same 500 prompts from the pinned sources (--check verifies):

python prompts.py --out data/prompts.jsonl
TARGET=qwen3.8-27b METHODS="baseline mtp dflash-zlab" bash run_probe.sh

Citation

@misc{cislabs2026mlspecbench,
  title  = {{ML-SpecBench}: Speculative Decoding Across 20 Languages},
  author = {{Cis Labs}},
  year   = {2026},
  url    = {https://huggingface.co/datasets/Cis-Labs/ML-SpecBench}
}

Please also cite the source datasets: m-ArenaHard and the Aya Evaluation Suite (Cohere Labs), Global-MMLU (Singh et al., 2024) and WMT24++ (Deutsch et al., 2025).


Cis Labs is an AI research lab. Towards intelligence for everyone. cislabsai.com · Hugging Face · GitHub