This dataset contains pre-generated JSONL files for the RULER long-context evaluation benchmark, used in Long-Context Modeling with Dynamic Hierarchical Sparse Attention for Memory-Constrained LLM Inference (ICML 2026 Spotlight). RULER is designed to evaluate effective context length and long-context behavior beyond simple retrieval, covering retrieval, multi-hop tracing, aggregation, and question answering style tasks.
The files are organized by target context length:
.
├── 4096/
├── 8192/
├── 16384/
├── 32768/
└── 49152/
Each directory contains one JSONL file per RULER task. The 4096, 8192, 16384, and 32768 directories contain 16 task files each. The 49152 directory contains 13 task files and does not include scat_arith_1.jsonl, scat_arith_2.jsonl, or scat_arith_3.jsonl.
Available task files:
cwe.jsonlfwe.jsonlniah_multikey_1.jsonlniah_multikey_2.jsonlniah_multikey_3.jsonlniah_multiquery.jsonlniah_multivalue.jsonlniah_single_1.jsonlniah_single_2.jsonlniah_single_3.jsonlqa_1.jsonlqa_2.jsonlscat_arith_1.jsonlscat_arith_2.jsonlscat_arith_3.jsonlvt.jsonlEach row is a JSON object. Common fields are:
index: integer example index within the fileinput: prompt text to pass to the modeloutputs: list of accepted answer stringslength: measured sequence lengthSome files also include:
length_w_model_temp: measured sequence length including model-specific template textanswer_prefix: prefix used for constrained or formatted answer generationExample:
{
"index": 0,
"input": "...",
"outputs": ["answer"],
"length": 32760,
"length_w_model_temp": 32760,
"answer_prefix": " The answer is"
}
Load one task file directly:
from datasets import load_dataset
dataset = load_dataset(
"json",
data_files="32768/niah_single_1.jsonl",
split="train",
)
Load multiple context lengths or tasks:
from datasets import load_dataset
data_files = {
"4096_niah_single_1": "4096/niah_single_1.jsonl",
"8192_niah_single_1": "8192/niah_single_1.jsonl",
"16384_niah_single_1": "16384/niah_single_1.jsonl",
"32768_niah_single_1": "32768/niah_single_1.jsonl",
"49152_niah_single_1": "49152/niah_single_1.jsonl",
}
dataset = load_dataset("json", data_files=data_files)
This dataset is intended for evaluating long-context language models with RULER-compatible evaluation scripts. It is not intended for model training, user profiling, or decisions affecting people.
RULER benchmark:
@inproceedings{xionglong,
title={Long-Context Modeling with Dynamic Hierarchical Sparse Attention for Memory-Constrained LLM Inference},
author={Xiong, Siheng and Zou, Joe and Fekri, Faramarz and Cho, Yae Jee},
booktitle={Forty-third International Conference on Machine Learning}
}
4 commits
This dataset contains pre-generated JSONL files for the RULER long-context evaluation benchmark, used in Long-Context Modeling with Dynamic Hierarchical Sparse Attention for Memory-Constrained LLM Inference (ICML 2026 Spotlight). RULER is designed to evaluate effective context length and long-context behavior beyond simple retrieval, covering retrieval, multi-hop tracing, aggregation, and question answering style tasks.
The files are organized by target context length:
.
├── 4096/
├── 8192/
├── 16384/
├── 32768/
└── 49152/
Each directory contains one JSONL file per RULER task. The 4096, 8192, 16384, and 32768 directories contain 16 task files each. The 49152 directory contains 13 task files and does not include scat_arith_1.jsonl, scat_arith_2.jsonl, or scat_arith_3.jsonl.
Available task files:
cwe.jsonlfwe.jsonlniah_multikey_1.jsonlniah_multikey_2.jsonlniah_multikey_3.jsonlniah_multiquery.jsonlniah_multivalue.jsonlniah_single_1.jsonlniah_single_2.jsonlniah_single_3.jsonlqa_1.jsonlqa_2.jsonlscat_arith_1.jsonlscat_arith_2.jsonlscat_arith_3.jsonlvt.jsonlEach row is a JSON object. Common fields are:
index: integer example index within the fileinput: prompt text to pass to the modeloutputs: list of accepted answer stringslength: measured sequence lengthSome files also include:
length_w_model_temp: measured sequence length including model-specific template textanswer_prefix: prefix used for constrained or formatted answer generationExample:
{
"index": 0,
"input": "...",
"outputs": ["answer"],
"length": 32760,
"length_w_model_temp": 32760,
"answer_prefix": " The answer is"
}
Load one task file directly:
from datasets import load_dataset
dataset = load_dataset(
"json",
data_files="32768/niah_single_1.jsonl",
split="train",
)
Load multiple context lengths or tasks:
from datasets import load_dataset
data_files = {
"4096_niah_single_1": "4096/niah_single_1.jsonl",
"8192_niah_single_1": "8192/niah_single_1.jsonl",
"16384_niah_single_1": "16384/niah_single_1.jsonl",
"32768_niah_single_1": "32768/niah_single_1.jsonl",
"49152_niah_single_1": "49152/niah_single_1.jsonl",
}
dataset = load_dataset("json", data_files=data_files)
This dataset is intended for evaluating long-context language models with RULER-compatible evaluation scripts. It is not intended for model training, user profiling, or decisions affecting people.
RULER benchmark:
@inproceedings{xionglong,
title={Long-Context Modeling with Dynamic Hierarchical Sparse Attention for Memory-Constrained LLM Inference},
author={Xiong, Siheng and Zou, Joe and Fekri, Faramarz and Cho, Yae Jee},
booktitle={Forty-third International Conference on Machine Learning}
}
4 commits