Download README.md from VisionTheta/LongBench-Parquet: direct link, hf CLI and curl.
- Browser
- Download file 7.33 kB
-
https://huggingface.co/datasets/VisionTheta/LongBench-Parquet/resolve/main/README.md
- Command line
-
hf download hf://datasets/VisionTheta/LongBench-Parquet/README.md
-
curl -L -o README.md https://huggingface.co/datasets/VisionTheta/LongBench-Parquet/resolve/main/README.md
language:
- en
- zh
task_categories:
- question-answering
- text-generation
- summarization
- text-classification
tags:
- long-context
- longbench
- benchmark
- parquet
size_categories:
- 1K<n<10K
configs:
- config_name: narrativeqa
data_files:
- split: test
path: narrativeqa/test-00000-of-00001.parquet
- config_name: qasper
data_files:
- split: test
path: qasper/test-00000-of-00001.parquet
- config_name: multifieldqa_en
data_files:
- split: test
path: multifieldqa_en/test-00000-of-00001.parquet
- config_name: multifieldqa_zh
data_files:
- split: test
path: multifieldqa_zh/test-00000-of-00001.parquet
- config_name: hotpotqa
data_files:
- split: test
path: hotpotqa/test-00000-of-00001.parquet
- config_name: 2wikimqa
data_files:
- split: test
path: 2wikimqa/test-00000-of-00001.parquet
- config_name: musique
data_files:
- split: test
path: musique/test-00000-of-00001.parquet
- config_name: dureader
data_files:
- split: test
path: dureader/test-00000-of-00001.parquet
- config_name: gov_report
data_files:
- split: test
path: gov_report/test-00000-of-00001.parquet
- config_name: qmsum
data_files:
- split: test
path: qmsum/test-00000-of-00001.parquet
- config_name: multi_news
data_files:
- split: test
path: multi_news/test-00000-of-00001.parquet
- config_name: vcsum
data_files:
- split: test
path: vcsum/test-00000-of-00001.parquet
- config_name: trec
data_files:
- split: test
path: trec/test-00000-of-00001.parquet
- config_name: triviaqa
data_files:
- split: test
path: triviaqa/test-00000-of-00001.parquet
- config_name: samsum
data_files:
- split: test
path: samsum/test-00000-of-00001.parquet
- config_name: lsht
data_files:
- split: test
path: lsht/test-00000-of-00001.parquet
- config_name: passage_count
data_files:
- split: test
path: passage_count/test-00000-of-00001.parquet
- config_name: passage_retrieval_en
data_files:
- split: test
path: passage_retrieval_en/test-00000-of-00001.parquet
- config_name: passage_retrieval_zh
data_files:
- split: test
path: passage_retrieval_zh/test-00000-of-00001.parquet
- config_name: lcc
data_files:
- split: test
path: lcc/test-00000-of-00001.parquet
- config_name: repobench-p
data_files:
- split: test
path: repobench-p/test-00000-of-00001.parquet
- config_name: qasper_e
data_files:
- split: test
path: qasper_e/test-00000-of-00001.parquet
- config_name: multifieldqa_en_e
data_files:
- split: test
path: multifieldqa_en_e/test-00000-of-00001.parquet
- config_name: hotpotqa_e
data_files:
- split: test
path: hotpotqa_e/test-00000-of-00001.parquet
- config_name: 2wikimqa_e
data_files:
- split: test
path: 2wikimqa_e/test-00000-of-00001.parquet
- config_name: gov_report_e
data_files:
- split: test
path: gov_report_e/test-00000-of-00001.parquet
- config_name: multi_news_e
data_files:
- split: test
path: multi_news_e/test-00000-of-00001.parquet
- config_name: trec_e
data_files:
- split: test
path: trec_e/test-00000-of-00001.parquet
- config_name: triviaqa_e
data_files:
- split: test
path: triviaqa_e/test-00000-of-00001.parquet
- config_name: samsum_e
data_files:
- split: test
path: samsum_e/test-00000-of-00001.parquet
- config_name: passage_count_e
data_files:
- split: test
path: passage_count_e/test-00000-of-00001.parquet
- config_name: passage_retrieval_en_e
data_files:
- split: test
path: passage_retrieval_en_e/test-00000-of-00001.parquet
- config_name: lcc_e
data_files:
- split: test
path: lcc_e/test-00000-of-00001.parquet
- config_name: repobench-p_e
data_files:
- split: test
path: repobench-p_e/test-00000-of-00001.parquet
LongBench and LongBench-E (Parquet)
An unofficial, format-only mirror of zai-org/LongBench
(formerly THUDM/LongBench), for Hugging Face datasets versions that no longer support dataset loading scripts.
All credit for the benchmark and data belongs to the original authors and source datasets.
Loading
from datasets import load_dataset
data = load_dataset("VisionTheta/LongBench-Parquet", "hotpotqa", split="test")
data_e = load_dataset("VisionTheta/LongBench-Parquet", "hotpotqa_e", split="test")
No loading script or trust_remote_code is required. Each task is a configuration with a test split.
There are 21 LongBench configurations (4,750 rows) and 13 LongBench-E configurations
(3,668 rows), totaling 8,418 rows across 34 configurations.
LongBench and LongBench-E overlap; this total is not a count of unique examples.
Conversion and provenance
Source: the cached official data.zip
at revision 5e628be450b7e67fb7ae6e201bd6d8f7056f7672.
Archive SHA-256: cb45b11a4133c6bc1d6a44b0f8e701335ff1e543195db1103472e575857f7f64.
The JSONL files were converted to Zstandard-compressed Parquet using the official loader's schema.
Every record and its position were checked against the original JSONL after reading the Parquet back.
No examples were filtered, reordered, deduplicated, or rewritten. Null values and empty lists remain distinct.
manifest.json records each configuration's row count and source/output checksums.
The eight original fields are preserved: input, context, answers (list of strings),
length (int32), dataset, language, all_classes (nullable list of strings), and _id.
All remaining fields are strings.
Configurations
| Configuration | Test rows |
|---|---|
| narrativeqa | 200 |
| qasper | 200 |
| multifieldqa_en | 150 |
| multifieldqa_zh | 200 |
| hotpotqa | 200 |
| 2wikimqa | 200 |
| musique | 200 |
| dureader | 200 |
| gov_report | 200 |
| qmsum | 200 |
| multi_news | 200 |
| vcsum | 200 |
| trec | 200 |
| triviaqa | 200 |
| samsum | 200 |
| lsht | 200 |
| passage_count | 200 |
| passage_retrieval_en | 200 |
| passage_retrieval_zh | 200 |
| lcc | 500 |
| repobench-p | 500 |
| qasper_e | 224 |
| multifieldqa_en_e | 150 |
| hotpotqa_e | 300 |
| 2wikimqa_e | 300 |
| gov_report_e | 300 |
| multi_news_e | 294 |
| trec_e | 300 |
| triviaqa_e | 300 |
| samsum_e | 300 |
| passage_count_e | 300 |
| passage_retrieval_en_e | 300 |
| lcc_e | 300 |
| repobench-p_e | 300 |
Upstream documentation and terms
See UPSTREAM_README.md for the original dataset card, the project for evaluation code, and the paper for benchmark details. The upstream dataset card does not declare a single dataset-wide license. This format conversion adds no new license or permissions; consult the upstream project and underlying datasets for their terms.
Citation
@misc{bai2023longbench,
title={LongBench: A Bilingual, Multitask Benchmark for Long Context Understanding},
author={Yushi Bai and Xin Lv and Jiajie Zhang and Hongchang Lyu and Jiankai Tang and Zhidian Huang and Zhengxiao Du and Xiao Liu and Aohan Zeng and Lei Hou and Yuxiao Dong and Jie Tang and Juanzi Li},
year={2023},
eprint={2308.14508},
archivePrefix={arXiv},
primaryClass={cs.CL}
}