Datasets:
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Error code: DatasetGenerationError
Exception: CastError
Message: Couldn't cast
index: int64
input: string
outputs: list<item: string>
child 0, item: string
length: int64
length_w_model_temp: int64
answer_prefix: string
context: string
type_needle_v: string
query: string
answer: list<item: string>
child 0, item: string
to
{'index': Value('int64'), 'input': Value('string'), 'outputs': List(Value('string')), 'length': Value('int64'), 'answer': List(Value('string')), 'type_needle_v': Value('string'), 'query': Value('string'), 'context': Value('string')}
because column names don't match
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1835, in _prepare_split_single
for key, table in generator:
^^^^^^^^^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 621, in wrapped
for item in generator(*args, **kwargs):
~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 361, in _generate_tables
self._cast_table(pa_table, json_field_paths=json_field_paths),
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
pa_table = table_cast(pa_table, self.info.features.arrow_schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2381, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2309, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
index: int64
input: string
outputs: list<item: string>
child 0, item: string
length: int64
length_w_model_temp: int64
answer_prefix: string
context: string
type_needle_v: string
query: string
answer: list<item: string>
child 0, item: string
to
{'index': Value('int64'), 'input': Value('string'), 'outputs': List(Value('string')), 'length': Value('int64'), 'answer': List(Value('string')), 'type_needle_v': Value('string'), 'query': Value('string'), 'context': Value('string')}
because column names don't match
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1379, in compute_config_parquet_and_info_response
parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
~~~~~~~~~~~~~~~~~~~~~~~~~^
builder, max_dataset_size_bytes=max_dataset_size_bytes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 956, in stream_convert_to_parquet
builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1702, in _prepare_split
for job_id, done, content in self._prepare_split_single(
~~~~~~~~~~~~~~~~~~~~~~~~~~^
gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
):
^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1887, in _prepare_split_single
raise DatasetGenerationError("An error occurred while generating the dataset") from e
datasets.exceptions.DatasetGenerationError: An error occurred while generating the datasetNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
index int64 | input string | outputs list | length int64 | answer list | type_needle_v string | query string | context string |
|---|---|---|---|---|---|---|---|
0 | A special magic number is hidden within the following text. Make sure to memorize it. I will quiz you about the number afterwards.
One of the special magic numbers for boring-hamster is: 2065035.
One of the special magic numbers for womanly-enclave is: 8741107.
One of the special magic numbers for productive-scholarshi... | [
"7382863"
] | 16,100 | [
"7382863"
] | number | grouchy-socialist | One of the special magic numbers for boring-hamster is: 2065035.
One of the special magic numbers for womanly-enclave is: 8741107.
One of the special magic numbers for productive-scholarship is: 9928789.
One of the special magic numbers for premium-schnitzel is: 7450410.
One of the special magic numbers for rural-water... |
1 | A special magic number is hidden within the following text. Make sure to memorize it. I will quiz you about the number afterwards.
One of the special magic numbers for cooperative-gazebo is: 3934467.
One of the special magic numbers for depressed-bloom is: 5934386.
One of the special magic numbers for earthy-shopping i... | [
"4132944"
] | 16,089 | [
"4132944"
] | number | direful-bug | One of the special magic numbers for cooperative-gazebo is: 3934467.
One of the special magic numbers for depressed-bloom is: 5934386.
One of the special magic numbers for earthy-shopping is: 8582065.
One of the special magic numbers for neighborly-elongation is: 9025631.
One of the special magic numbers for volatile-s... |
2 | "A special magic number is hidden within the following text. Make sure to memorize it. I will quiz y(...TRUNCATED) | [
"5018631"
] | 16,041 | [
"5018631"
] | number | combative-kingdom | "One of the special magic numbers for abrupt-resume is: 8603439.\nOne of the special magic numbers f(...TRUNCATED) |
3 | "A special magic number is hidden within the following text. Make sure to memorize it. I will quiz y(...TRUNCATED) | [
"8346285"
] | 16,078 | [
"8346285"
] | number | bashful-session | "One of the special magic numbers for sloppy-poker is: 7649771.\nOne of the special magic numbers fo(...TRUNCATED) |
4 | "A special magic number is hidden within the following text. Make sure to memorize it. I will quiz y(...TRUNCATED) | [
"6030577"
] | 16,095 | [
"6030577"
] | number | tearful-response | "One of the special magic numbers for lucky-cruise is: 1422000.\nOne of the special magic numbers fo(...TRUNCATED) |
5 | "A special magic number is hidden within the following text. Make sure to memorize it. I will quiz y(...TRUNCATED) | [
"4823420"
] | 16,087 | [
"4823420"
] | number | alike-candle | "One of the special magic numbers for wealthy-news is: 5160391.\nOne of the special magic numbers fo(...TRUNCATED) |
6 | "A special magic number is hidden within the following text. Make sure to memorize it. I will quiz y(...TRUNCATED) | [
"6132944"
] | 16,123 | [
"6132944"
] | number | mature-interviewer | "One of the special magic numbers for painful-vessel is: 5546937.\nOne of the special magic numbers (...TRUNCATED) |
7 | "A special magic number is hidden within the following text. Make sure to memorize it. I will quiz y(...TRUNCATED) | [
"7182444"
] | 16,001 | [
"7182444"
] | number | quixotic-mango | "One of the special magic numbers for powerful-secretariat is: 7384811.\nOne of the special magic nu(...TRUNCATED) |
8 | "A special magic number is hidden within the following text. Make sure to memorize it. I will quiz y(...TRUNCATED) | [
"6085171"
] | 16,112 | [
"6085171"
] | number | jumbled-cilantro | "One of the special magic numbers for organic-cupola is: 5302258.\nOne of the special magic numbers (...TRUNCATED) |
9 | "A special magic number is hidden within the following text. Make sure to memorize it. I will quiz y(...TRUNCATED) | [
"6414274"
] | 16,094 | [
"6414274"
] | number | fabulous-advocacy | "One of the special magic numbers for statuesque-strife is: 2612728.\nOne of the special magic numbe(...TRUNCATED) |
MBMamba-Eval
Frozen, version-pinned RULER and HELMET evaluation assets for the P60-acl-prep evaluation of
| model | parameters | tokenizer |
|---|---|---|
state-spaces/mamba3-siso-1.5b |
1.49 B | meta-llama/Llama-3.1-8B (vocab 128 256) |
state-spaces/mamba3-siso-187m |
187 M | meta-llama/Llama-3.1-8B (vocab 128 256) |
Methods in scope for the consuming harness (not part of this dataset): Vanilla / OPRM / Ours.
This repository contains data only. It never starts an evaluation.
1. Why this repository exists
The MBMamba paper-facing protocol fixes RULER at 16K/32K/64K and HELMET at 8K/16K/32K/64K. P60-acl-prep targets the non-64K lengths only, so the published scope here is:
| benchmark | published lengths | tasks | cells | examples per cell |
|---|---|---|---|---|
| RULER | 16 384, 32 768 | 13 | 26 | 500 |
| HELMET | 8 192, 16 384, 32 768 | 21 | 63 | per task (see helmet/manifest.json) |
64K is deliberately out of scope and is not published. It is listed
explicitly as context_lengths_out_of_scope in
ruler/configs/protocol.json and helmet/configs/protocol.json so that the
omission is visible rather than silent. The 64K banks still exist on the
originating server and can be published later under the same schema.
The second reason this repository exists: the tokenizer changed. All
historical MBMamba RULER/HELMET banks were tokenized with
EleutherAI/gpt-neox-20b (vocab 50 277) because the paper models were
Mamba2/Falcon-Mamba. Mamba3 uses the Llama-3.1 tokenizer (vocab 128 256).
GPT-NeoX token ids therefore cannot be reused to hit Mamba3 target
context lengths. The RULER prepared bank published here is re-tokenized from
the identical frozen source rows with the Mamba3 tokenizer.
2. Layout
MBMamba-Eval/
βββ README.md <- this card
βββ LICENSES.md <- per-component redistribution audit
βββ manifest.json <- repository index (benchmarks, totals, tokenizer)
βββ ruler/
β βββ README.md
β βββ manifest.json <- every file: size, sha256, rows, length, task, status
β βββ configs/
β β βββ protocol.json <- tasks, lengths, seed, decoding, metrics, aggregation
β β βββ upstream_ruler/ <- vendored NVIDIA RULER generator (Apache-2.0)
β βββ source/<length>/<task>/validation.jsonl
β βββ prepared/mamba3-llama3.1-8b/<length>/<task>.pkl
βββ helmet/
β βββ README.md
β βββ manifest.json <- 63 bindings + 27 source populations + integrity
β βββ configs/
β β βββ protocol.json
β β βββ upstream_helmet/ <- HELMET configs + prompts (MIT)
β βββ redistributable/ <- synthetic Recall components only
β βββ download_recipes/ <- pinned official fetch + rebuild instructions
βββ scripts/
βββ download_for_l40s.py
βββ verify_integrity.py
βββ verify_coverage.py
βββ prepare_ruler_llama3.py
manifest.json files are authoritative. Prose never overrides them.
3. RULER assets
ruler/source/ holds the canonical, tokenizer-independent frozen bank:
the official NVIDIA RULER prepare.py output (index, input, outputs,
length, answer_prefix, token_position_answer), 500 rows per
length Γ task, generated with --random_seed 123, --model_template_type base
and the vendored task table. It is byte-identical to the bank used for the
paper-facing P57/P59 results (sha256 recorded per file).
ruler/prepared/mamba3-llama3.1-8b/ is the same 500 examples per cell,
re-tokenized with meta-llama/Llama-3.1-8B:
text = row["input"] + row["answer_prefix"] # official call_api.py prompt identity
enc = tokenizer(text, truncation=False, add_special_tokens=True,
return_offsets_mapping=True)
Each pickle is a list of 500 dicts with source_row, rendered_input,
input_ids, offset_mapping, references, example_id, task,
context_length. Actual per-row token counts are recorded in
ruler/manifest.json β token_lengths; they are not padded to the cell
length, and re-tokenization means 4 of the 26 cells come out slightly above
their nominal length (notably cwe: 19.1Kβ19.7K tokens for the 16K cell). A
consumer must apply its own truncation policy β see ruler/README.md.
Status: PUBLIC_READY for all 26 cells.
4. HELMET assets
HELMET evaluation records embed third-party corpora whose redistribution terms are not uniformly permissive. This repository therefore splits HELMET:
- Published here β the 63-binding matrix for 8K/16K/32K, the official prompt templates, per-binding generation limits, per-source population identity hashes, and the synthetic Recall sources that are generated by MIT/Apache-2.0 code.
- Not published here β the corpus text of the 13 datasets whose upstream
terms are restricted or undeclared. Fetch them from the pinned official
source and verify against
helmet/manifest.json. Seehelmet/download_recipes/README.md.
Per-task redistribution classification is in LICENSES.md and in
helmet/manifest.json β bindings[*].redistribution.
5. Using the assets on L40S
python scripts/download_for_l40s.py \
--repo leo20240112/MBMamba-Eval \
--revision v2026.11.10 \
--output-dir /shared/mbmamba/eval_assets \
--verify
--revision defaults to the tag baked into the script (v2026.11.10); the
script resolves it to an exact commit sha and records it in
asset_manifest.json β resolved_commit.
This fetches only the requested lengths/tasks, verifies every sha256, pulls the
pinned HELMET data tarball for the restricted components, and writes
<output-dir>/asset_manifest.json with absolute paths for every asset plus
a per-cell coverage map. It is resumable and never starts an evaluation.
Then:
python scripts/verify_integrity.py --root /shared/mbmamba/eval_assets --deep-tokens
python scripts/verify_coverage.py --root /shared/mbmamba/eval_assets
6. Provenance
| item | value |
|---|---|
| originating project | MBMamba, main @ 3fb29700 |
| RULER upstream | https://github.com/NVIDIA/RULER (Apache-2.0) |
| RULER generator seed | 123 |
| RULER source bank | data/eval_data/ruler/source/v1 (39 cells; 26 published) |
| RULER prepared bank | p57-answer-prefix-v2 contract, re-tokenized |
| HELMET upstream code | https://github.com/princeton-nlp/HELMET (MIT) |
| HELMET upstream data | https://huggingface.co/datasets/princeton-nlp/HELMET @ dddb209d03e38f1f0faf76d6d05ef4ccf96240ee |
| HELMET protocol profile | lamb_release_matched_8k_16k_32k_64k |
| HELMET eval-ready bank | eval_ready/v1 == p59_v2_mamba2_9100_20261016 |
| Mamba3 tokenizer | meta-llama/Llama-3.1-8B, vocab 128 256 |
Exact per-file hashes, sample counts and token-length distributions live in the per-benchmark manifests.
7. Known caveats carried over from the source project
These are recorded so a consumer cannot mistake a qualified asset for an unqualified claim:
- RULER QA scoring β historical P57/P59 RULER
qa_1/qa_2scores used a separator-sensitive matcher; the canonical metric isstring_match_part. The data here is unaffected; only historical scores need an offline rescore. Do not inherit old QA numbers without rescoring. - HELMET scorer profile β the historical matrix is the LAMB-matched profile, not Princeton-official GPT-based companion scoring. Cite has multiple metrics; only a declared, audited aggregation is comparable.
- HELMET 64K is out of scope here and is not a statement that 64K passed.
- Prepared banks are tokenizer-specific. The published prepared RULER bank
is for Llama-3.1. Any other tokenizer requires
scripts/prepare_ruler_llama3.py(or the MBMamba materializer) and produces a different, equally valid bank with different hashes. - RULER
index/example_idis not unique. It is the generator's random index and repeats inside a cell (16Kniah_multikey_3: 214 distinct values in 500 rows). Join on(task, context_length, source_index).
8. Citation
@misc{mbmamba_eval_2026,
title = {MBMamba-Eval: frozen RULER and HELMET evaluation assets},
author = {MBMamba project},
year = {2026},
url = {https://huggingface.co/datasets/leo20240112/MBMamba-Eval}
}
RULER: Hsieh et al., RULER: What's the Real Context Size of Your Long-Context Language Models? (arXiv:2404.06654). HELMET: Yen et al., HELMET: How to Evaluate Long-Context Language Models Effectively and Thoroughly (arXiv:2410.02694).
- Downloads last month
- 608