OpenViSTAI · Agents · Blockchain · Crypto
Menu
AI Evaluation & Observability

Infinitebench

Infinitebench is an open-source benchmark and Python codebase for evaluating language models on contexts exceeding 100,000 tokens.

Independent OpenViST project profile, based on linked sources.

Infinitebench — Evaluations spanning 12 different long-context tasks
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use Infinitebench when an evaluation needs to test model behavior on very long contexts, including inputs above 100,000 tokens.

Who it is for

  • Researchers comparing language models’ long-context performance
  • Developers evaluating retrieval, summarization, reasoning, language or code tasks with extended inputs

Documented uses

  • Compare model performance across long-context tasks.
  • Measure how a model handles retrieval, question answering, summarization, code and synthetic reasoning examples.
  • Inspect task-level evaluation results rather than relying on a single aggregate measure.
Before you choose

Requirements & limits

The project is publicly available under the MIT license. The repository documents Python dependency installation and provides a dataset download route through Hugging Face.

  • The benchmark emphasizes contexts longer than 100,000 tokens.
  • Tasks range from book summarization and question answering to code debugging, arithmetic and information retrieval.
  • The README provides different evaluation scripts for specific model setups; users need to select a documented script and task argument.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Run an InfiniteBench task with a supported evaluator

Install the listed Python requirements, prepare the dataset files, and invoke one of the README’s example evaluation scripts.

Before you start

  • A Python environment capable of installing the project requirements.
  • The dataset files arranged in a data folder, or available at a location specified with --data_dir.

Steps

  1. Install dependencies with the command below.

    Documented command
    pip install -r requirements.txt
  2. Download the dataset and place its JSONL files in the data folder, or note the dataset location for --data_dir.

  3. From the src folder, run one documented example: the command below, the command below, or the command below.

    Documented command
    python eval_yarn_mistral.py --task kv_retrieval
    Documented command
    python eval_gpt4.py --task longbook_sum_qa
    Documented command
    python eval_rwkv.py --task passkey
  4. Use a task argument from the README’s task table when selecting a task.

Expected outcome

The selected evaluator script is invoked with a task argument and the prepared dataset location.

Guide limitations

  • The documented examples use longbook_sum_qa, while the task table lists longbook_sum_eng for En.Sum.
  • The dataset files must be obtained separately; the README does not provide download instructions.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
16 November 2026
Original website title
OpenBMB/InfiniteBench · Official homepage title · retained in its source language