LLM-jp LongBench
How it works
For each question a Japanese Wikipedia article is attached to the prompt as context, the model generates an answer, and the answer is then scored for accuracy. JEMHopQA consists of multi-hop questions with answer-derivation step information; NIILC contains questions with a single, time-invariant answer. Each task has its own pipeline (length filtering / context building, inference, evaluation) run from a single script; inference is performed with vLLM using options such as --model_name, --max_model_len (65,536 in the reported results) and --tensor_parallel_size.
Problem solved
Most long-context benchmarks, including the original LongBench, were built for English. There was no consistent tool to measure how well models handle long context in Japanese. LLM-jp LongBench fills that gap by providing Japanese QA tasks with long contexts built from Wikipedia articles.
Components
A 1,059-example long-context evaluation set built from JEMHopQA (Ishii et al., 2024) by attaching Japanese Wikipedia articles. Multi-hop QA with answer-derivation step information; inputs up to 65,536 tokens. CC BY-SA 4.0.
A 545-example set (436 validation, 109 test) built from NIILC (Sekine, 2003). Contains questions with a single, time-invariant answer and an attached Wikipedia article as context (up to ~261k characters). CC BY-SA 4.0.
Implementation
The data files are niilc_test_with_context.csv and niilc_dev_with_context.csv, while the Hugging Face viewer splits are validation/test — the names do not line up.
The NIILC context column reaches ~261k characters, while reported results use a max_model_len of 65,536 tokens — longer contexts get truncated.
Evolution
A QA dataset developed by S. Sekine for question-answering research; later one of the LLM-jp LongBench tasks.
Japanese explainable multi-hop QA dataset (Ishii et al., LREC-COLING 2024); basis of the main LLM-jp LongBench task.
Hyperparameters (configurable axes)
Maximum input length (in tokens) passed to the model during inference. Set to 65,536 in the benchmark’s reported results.
Selection of the benchmark evaluation task.
Hardware requirements
Model inference in the benchmark pipelines is run via vLLM on GPUs.