A challenging aggregation benchmark for long-context models; full code and eval scripts release coming soon! See the paper for details
The example inference script assumes you use LiteLLM as a wrapper around your API of choice.
set up:
pip install -r requirements.txt
export LITELLM_API_KEY="sk-[your key]"
inference:
python src/eval/eval_script_batched.py --model [modelname] --dataset [synth or real]
This will run inference with batch size 1; you can set a batch size with --batch_size, or pass --batch_by_context_window to pass a single example from each context window to seed the cache and then the remainder of examples from that window in a single batch.
You can set maximum and minimum input example lengths; Oolong-real will also attempt to infer the maximum input length from the model provided.
Release status:
@misc{bertsch2025oolongevaluatinglongcontext,
title={Oolong: Evaluating Long Context Reasoning and Aggregation Capabilities},
author={Amanda Bertsch and Adithya Pratapa and Teruko Mitamura and Graham Neubig and Matthew R. Gormley},
year={2025},
eprint={2511.02817},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2511.02817},
}
11 commits
3 commits
Python
100.0%
A challenging aggregation benchmark for long-context models; full code and eval scripts release coming soon! See the paper for details
The example inference script assumes you use LiteLLM as a wrapper around your API of choice.
set up:
pip install -r requirements.txt
export LITELLM_API_KEY="sk-[your key]"
inference:
python src/eval/eval_script_batched.py --model [modelname] --dataset [synth or real]
This will run inference with batch size 1; you can set a batch size with --batch_size, or pass --batch_by_context_window to pass a single example from each context window to seed the cache and then the remainder of examples from that window in a single batch.
You can set maximum and minimum input example lengths; Oolong-real will also attempt to infer the maximum input length from the model provided.
Release status:
@misc{bertsch2025oolongevaluatinglongcontext,
title={Oolong: Evaluating Long Context Reasoning and Aggregation Capabilities},
author={Amanda Bertsch and Adithya Pratapa and Teruko Mitamura and Graham Neubig and Matthew R. Gormley},
year={2025},
eprint={2511.02817},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2511.02817},
}
11 commits
3 commits
Python
100.0%