Datasets:

Languages:
English
ArXiv:
Tags:
question
stringclasses
4 values
target
stringclasses
6 values
input
stringlengths
51
317
Where is John?
hallway
John travelled to the hallway. Mary journeyed to the bathroom.
Where is Mary?
bathroom
John travelled to the hallway. Mary journeyed to the bathroom. Daniel went back to the bathroom. John moved to the bedroom.
Where is Sandra?
kitchen
John travelled to the hallway. Mary journeyed to the bathroom. Daniel went back to the bathroom. John moved to the bedroom. John went to the hallway. Sandra journeyed to the kitchen.
Where is Sandra?
hallway
John travelled to the hallway. Mary journeyed to the bathroom. Daniel went back to the bathroom. John moved to the bedroom. John went to the hallway. Sandra journeyed to the kitchen. Sandra travelled to the hallway. John went to the garden.
Where is Sandra?
kitchen
John travelled to the hallway. Mary journeyed to the bathroom. Daniel went back to the bathroom. John moved to the bedroom. John went to the hallway. Sandra journeyed to the kitchen. Sandra travelled to the hallway. John went to the garden. Sandra went back to the bathroom. Sandra moved to the kitchen.
Where is Sandra?
hallway
Sandra travelled to the kitchen. Sandra travelled to the hallway.
Where is Sandra?
garden
Sandra travelled to the kitchen. Sandra travelled to the hallway. Mary went to the bathroom. Sandra moved to the garden.
Where is Daniel?
hallway
Sandra travelled to the kitchen. Sandra travelled to the hallway. Mary went to the bathroom. Sandra moved to the garden. Sandra travelled to the office. Daniel journeyed to the hallway.
Where is Sandra?
office
Sandra travelled to the kitchen. Sandra travelled to the hallway. Mary went to the bathroom. Sandra moved to the garden. Sandra travelled to the office. Daniel journeyed to the hallway. Daniel journeyed to the office. John moved to the hallway.
Where is Daniel?
office
Sandra travelled to the kitchen. Sandra travelled to the hallway. Mary went to the bathroom. Sandra moved to the garden. Sandra travelled to the office. Daniel journeyed to the hallway. Daniel journeyed to the office. John moved to the hallway. John travelled to the bathroom. John journeyed to the office.
Where is Mary?
kitchen
John travelled to the office. Mary journeyed to the kitchen.
Where is Mary?
garden
John travelled to the office. Mary journeyed to the kitchen. Mary moved to the garden. Daniel went to the office.
Where is Daniel?
office
John travelled to the office. Mary journeyed to the kitchen. Mary moved to the garden. Daniel went to the office. John went to the hallway. Mary moved to the kitchen.
Where is Mary?
bedroom
John travelled to the office. Mary journeyed to the kitchen. Mary moved to the garden. Daniel went to the office. John went to the hallway. Mary moved to the kitchen. Mary travelled to the bedroom. Daniel journeyed to the garden.
Where is Mary?
bedroom
John travelled to the office. Mary journeyed to the kitchen. Mary moved to the garden. Daniel went to the office. John went to the hallway. Mary moved to the kitchen. Mary travelled to the bedroom. Daniel journeyed to the garden. John journeyed to the garden. Sandra journeyed to the bedroom.
Where is John?
kitchen
John moved to the hallway. John journeyed to the kitchen.
Where is John?
garden
John moved to the hallway. John journeyed to the kitchen. Sandra travelled to the garden. John journeyed to the garden.
Where is John?
kitchen
John moved to the hallway. John journeyed to the kitchen. Sandra travelled to the garden. John journeyed to the garden. Daniel journeyed to the office. John went to the kitchen.
Where is Daniel?
office
John moved to the hallway. John journeyed to the kitchen. Sandra travelled to the garden. John journeyed to the garden. Daniel journeyed to the office. John went to the kitchen. Sandra journeyed to the hallway. Mary went to the hallway.
Where is John?
kitchen
John moved to the hallway. John journeyed to the kitchen. Sandra travelled to the garden. John journeyed to the garden. Daniel journeyed to the office. John went to the kitchen. Sandra journeyed to the hallway. Mary went to the hallway. Mary went to the kitchen. Sandra travelled to the garden.
Where is Mary?
hallway
Mary journeyed to the kitchen. Mary travelled to the hallway.
Where is John?
office
Mary journeyed to the kitchen. Mary travelled to the hallway. Sandra moved to the office. John journeyed to the office.
Where is John?
office
Mary journeyed to the kitchen. Mary travelled to the hallway. Sandra moved to the office. John journeyed to the office. Sandra travelled to the hallway. Daniel went back to the bathroom.
Where is Sandra?
hallway
Mary journeyed to the kitchen. Mary travelled to the hallway. Sandra moved to the office. John journeyed to the office. Sandra travelled to the hallway. Daniel went back to the bathroom. Mary travelled to the garden. Daniel moved to the bedroom.
Where is Daniel?
bedroom
Mary journeyed to the kitchen. Mary travelled to the hallway. Sandra moved to the office. John journeyed to the office. Sandra travelled to the hallway. Daniel went back to the bathroom. Mary travelled to the garden. Daniel moved to the bedroom. John went to the garden. Sandra travelled to the office.
Where is Sandra?
bedroom
Sandra moved to the bedroom. Mary went back to the kitchen.
Where is Mary?
bedroom
Sandra moved to the bedroom. Mary went back to the kitchen. Mary went to the bedroom. Daniel journeyed to the bedroom.
Where is Daniel?
kitchen
Sandra moved to the bedroom. Mary went back to the kitchen. Mary went to the bedroom. Daniel journeyed to the bedroom. John travelled to the bathroom. Daniel travelled to the kitchen.
Where is Daniel?
kitchen
Sandra moved to the bedroom. Mary went back to the kitchen. Mary went to the bedroom. Daniel journeyed to the bedroom. John travelled to the bathroom. Daniel travelled to the kitchen. John went back to the office. Sandra journeyed to the garden.
Where is Daniel?
kitchen
Sandra moved to the bedroom. Mary went back to the kitchen. Mary went to the bedroom. Daniel journeyed to the bedroom. John travelled to the bathroom. Daniel travelled to the kitchen. John went back to the office. Sandra journeyed to the garden. Mary journeyed to the bathroom. Mary journeyed to the kitchen.
Where is Sandra?
hallway
Sandra moved to the hallway. Daniel went to the office.
Where is John?
office
Sandra moved to the hallway. Daniel went to the office. Sandra travelled to the kitchen. John moved to the office.
Where is Sandra?
kitchen
Sandra moved to the hallway. Daniel went to the office. Sandra travelled to the kitchen. John moved to the office. Sandra went to the bathroom. Sandra moved to the kitchen.
Where is Sandra?
kitchen
Sandra moved to the hallway. Daniel went to the office. Sandra travelled to the kitchen. John moved to the office. Sandra went to the bathroom. Sandra moved to the kitchen. Sandra journeyed to the bedroom. Sandra went to the kitchen.
Where is Sandra?
bathroom
Sandra moved to the hallway. Daniel went to the office. Sandra travelled to the kitchen. John moved to the office. Sandra went to the bathroom. Sandra moved to the kitchen. Sandra journeyed to the bedroom. Sandra went to the kitchen. John went to the garden. Sandra went to the bathroom.
Where is Mary?
office
Mary went back to the bedroom. Mary moved to the office.
Where is Mary?
bathroom
Mary went back to the bedroom. Mary moved to the office. Mary went back to the bathroom. Sandra moved to the hallway.
Where is Mary?
garden
Mary went back to the bedroom. Mary moved to the office. Mary went back to the bathroom. Sandra moved to the hallway. Mary went to the garden. Sandra went to the kitchen.
Where is Sandra?
kitchen
Mary went back to the bedroom. Mary moved to the office. Mary went back to the bathroom. Sandra moved to the hallway. Mary went to the garden. Sandra went to the kitchen. Daniel journeyed to the bedroom. John journeyed to the hallway.
Where is Daniel?
bedroom
Mary went back to the bedroom. Mary moved to the office. Mary went back to the bathroom. Sandra moved to the hallway. Mary went to the garden. Sandra went to the kitchen. Daniel journeyed to the bedroom. John journeyed to the hallway. Sandra moved to the office. Sandra journeyed to the garden.
Where is Sandra?
bathroom
Sandra went to the office. Sandra travelled to the bathroom.
Where is Daniel?
garden
Sandra went to the office. Sandra travelled to the bathroom. Mary went back to the bedroom. Daniel moved to the garden.
Where is Sandra?
bathroom
Sandra went to the office. Sandra travelled to the bathroom. Mary went back to the bedroom. Daniel moved to the garden. John journeyed to the garden. Daniel went back to the hallway.
Where is Daniel?
hallway
Sandra went to the office. Sandra travelled to the bathroom. Mary went back to the bedroom. Daniel moved to the garden. John journeyed to the garden. Daniel went back to the hallway. John journeyed to the bedroom. Mary travelled to the kitchen.
Where is Daniel?
garden
Sandra went to the office. Sandra travelled to the bathroom. Mary went back to the bedroom. Daniel moved to the garden. John journeyed to the garden. Daniel went back to the hallway. John journeyed to the bedroom. Mary travelled to the kitchen. Sandra went to the bedroom. Daniel went to the garden.
Where is Mary?
kitchen
Mary went back to the kitchen. Daniel journeyed to the hallway.
Where is Daniel?
hallway
Mary went back to the kitchen. Daniel journeyed to the hallway. Mary went back to the hallway. Sandra journeyed to the bedroom.
Where is Sandra?
bathroom
Mary went back to the kitchen. Daniel journeyed to the hallway. Mary went back to the hallway. Sandra journeyed to the bedroom. Sandra moved to the garden. Sandra moved to the bathroom.
Where is John?
office
Mary went back to the kitchen. Daniel journeyed to the hallway. Mary went back to the hallway. Sandra journeyed to the bedroom. Sandra moved to the garden. Sandra moved to the bathroom. Daniel travelled to the bedroom. John moved to the office.
Where is John?
bedroom
Mary went back to the kitchen. Daniel journeyed to the hallway. Mary went back to the hallway. Sandra journeyed to the bedroom. Sandra moved to the garden. Sandra moved to the bathroom. Daniel travelled to the bedroom. John moved to the office. Sandra moved to the hallway. John moved to the bedroom.
Where is John?
bedroom
John journeyed to the hallway. John journeyed to the bedroom.
Where is John?
office
John journeyed to the hallway. John journeyed to the bedroom. Daniel journeyed to the bedroom. John journeyed to the office.
Where is John?
garden
John journeyed to the hallway. John journeyed to the bedroom. Daniel journeyed to the bedroom. John journeyed to the office. John moved to the garden. Daniel moved to the garden.
Where is John?
garden
John journeyed to the hallway. John journeyed to the bedroom. Daniel journeyed to the bedroom. John journeyed to the office. John moved to the garden. Daniel moved to the garden. Daniel went back to the kitchen. Mary journeyed to the hallway.
Where is Daniel?
kitchen
John journeyed to the hallway. John journeyed to the bedroom. Daniel journeyed to the bedroom. John journeyed to the office. John moved to the garden. Daniel moved to the garden. Daniel went back to the kitchen. Mary journeyed to the hallway. John moved to the office. Mary journeyed to the kitchen.
Where is Mary?
bedroom
Mary went to the bedroom. Daniel journeyed to the bathroom.
Where is Mary?
kitchen
Mary went to the bedroom. Daniel journeyed to the bathroom. Mary travelled to the kitchen. Daniel moved to the garden.
Where is Mary?
hallway
Mary went to the bedroom. Daniel journeyed to the bathroom. Mary travelled to the kitchen. Daniel moved to the garden. Sandra travelled to the bedroom. Mary journeyed to the hallway.
Where is Daniel?
garden
Mary went to the bedroom. Daniel journeyed to the bathroom. Mary travelled to the kitchen. Daniel moved to the garden. Sandra travelled to the bedroom. Mary journeyed to the hallway. Sandra went back to the office. Sandra went to the kitchen.
Where is Sandra?
hallway
Mary went to the bedroom. Daniel journeyed to the bathroom. Mary travelled to the kitchen. Daniel moved to the garden. Sandra travelled to the bedroom. Mary journeyed to the hallway. Sandra went back to the office. Sandra went to the kitchen. Sandra went to the hallway. John moved to the office.
Where is Sandra?
hallway
Sandra went back to the hallway. John moved to the hallway.
Where is Daniel?
office
Sandra went back to the hallway. John moved to the hallway. John travelled to the bathroom. Daniel travelled to the office.
Where is Sandra?
bathroom
Sandra went back to the hallway. John moved to the hallway. John travelled to the bathroom. Daniel travelled to the office. John moved to the office. Sandra travelled to the bathroom.
Where is Daniel?
garden
Sandra went back to the hallway. John moved to the hallway. John travelled to the bathroom. Daniel travelled to the office. John moved to the office. Sandra travelled to the bathroom. Daniel went back to the bedroom. Daniel went back to the garden.
Where is Daniel?
garden
Sandra went back to the hallway. John moved to the hallway. John travelled to the bathroom. Daniel travelled to the office. John moved to the office. Sandra travelled to the bathroom. Daniel went back to the bedroom. Daniel went back to the garden. Sandra moved to the hallway. John went back to the bathroom.
Where is John?
kitchen
Mary went to the kitchen. John went back to the kitchen.
Where is John?
kitchen
Mary went to the kitchen. John went back to the kitchen. Daniel went back to the hallway. Daniel went to the bathroom.
Where is Daniel?
bathroom
Mary went to the kitchen. John went back to the kitchen. Daniel went back to the hallway. Daniel went to the bathroom. Sandra travelled to the bathroom. Sandra travelled to the bedroom.
Where is Daniel?
office
Mary went to the kitchen. John went back to the kitchen. Daniel went back to the hallway. Daniel went to the bathroom. Sandra travelled to the bathroom. Sandra travelled to the bedroom. Daniel went to the kitchen. Daniel moved to the office.
Where is Daniel?
office
Mary went to the kitchen. John went back to the kitchen. Daniel went back to the hallway. Daniel went to the bathroom. Sandra travelled to the bathroom. Sandra travelled to the bedroom. Daniel went to the kitchen. Daniel moved to the office. Mary moved to the bathroom. Mary went back to the hallway.
Where is Mary?
garden
Sandra journeyed to the bedroom. Mary journeyed to the garden.
Where is Sandra?
hallway
Sandra journeyed to the bedroom. Mary journeyed to the garden. Sandra moved to the hallway. Mary travelled to the office.
Where is Mary?
garden
Sandra journeyed to the bedroom. Mary journeyed to the garden. Sandra moved to the hallway. Mary travelled to the office. Mary travelled to the kitchen. Mary journeyed to the garden.
Where is Mary?
bedroom
Sandra journeyed to the bedroom. Mary journeyed to the garden. Sandra moved to the hallway. Mary travelled to the office. Mary travelled to the kitchen. Mary journeyed to the garden. John moved to the hallway. Mary went to the bedroom.
Where is Mary?
bathroom
Sandra journeyed to the bedroom. Mary journeyed to the garden. Sandra moved to the hallway. Mary travelled to the office. Mary travelled to the kitchen. Mary journeyed to the garden. John moved to the hallway. Mary went to the bedroom. John moved to the bathroom. Mary went to the bathroom.
Where is Daniel?
kitchen
John travelled to the kitchen. Daniel went back to the kitchen.
Where is John?
kitchen
John travelled to the kitchen. Daniel went back to the kitchen. Daniel went to the garden. Mary went back to the office.
Where is Daniel?
kitchen
John travelled to the kitchen. Daniel went back to the kitchen. Daniel went to the garden. Mary went back to the office. Daniel journeyed to the office. Daniel moved to the kitchen.
Where is Daniel?
hallway
John travelled to the kitchen. Daniel went back to the kitchen. Daniel went to the garden. Mary went back to the office. Daniel journeyed to the office. Daniel moved to the kitchen. Daniel went back to the hallway. Sandra went back to the bedroom.
Where is Daniel?
office
John travelled to the kitchen. Daniel went back to the kitchen. Daniel went to the garden. Mary went back to the office. Daniel journeyed to the office. Daniel moved to the kitchen. Daniel went back to the hallway. Sandra went back to the bedroom. Sandra went to the garden. Daniel went back to the office.
Where is John?
garden
Daniel went to the garden. John travelled to the garden.
Where is John?
bathroom
Daniel went to the garden. John travelled to the garden. John travelled to the bathroom. Mary went to the garden.
Where is Sandra?
bedroom
Daniel went to the garden. John travelled to the garden. John travelled to the bathroom. Mary went to the garden. Sandra moved to the kitchen. Sandra went back to the bedroom.
Where is Mary?
garden
Daniel went to the garden. John travelled to the garden. John travelled to the bathroom. Mary went to the garden. Sandra moved to the kitchen. Sandra went back to the bedroom. John journeyed to the office. Sandra went to the office.
Where is Daniel?
office
Daniel went to the garden. John travelled to the garden. John travelled to the bathroom. Mary went to the garden. Sandra moved to the kitchen. Sandra went back to the bedroom. John journeyed to the office. Sandra went to the office. Mary travelled to the kitchen. Daniel travelled to the office.
Where is Sandra?
garden
John travelled to the garden. Sandra travelled to the garden.
Where is Mary?
garden
John travelled to the garden. Sandra travelled to the garden. Mary journeyed to the office. Mary went to the garden.
Where is John?
hallway
John travelled to the garden. Sandra travelled to the garden. Mary journeyed to the office. Mary went to the garden. John went to the hallway. Mary went to the bedroom.
Where is Sandra?
kitchen
John travelled to the garden. Sandra travelled to the garden. Mary journeyed to the office. Mary went to the garden. John went to the hallway. Mary went to the bedroom. John went to the office. Sandra went back to the kitchen.
Where is Daniel?
kitchen
John travelled to the garden. Sandra travelled to the garden. Mary journeyed to the office. Mary went to the garden. John went to the hallway. Mary went to the bedroom. John went to the office. Sandra went back to the kitchen. John travelled to the kitchen. Daniel went back to the kitchen.
Where is Sandra?
bathroom
Sandra moved to the kitchen. Sandra went back to the bathroom.
Where is John?
bathroom
Sandra moved to the kitchen. Sandra went back to the bathroom. Mary journeyed to the bedroom. John journeyed to the bathroom.
Where is Sandra?
hallway
Sandra moved to the kitchen. Sandra went back to the bathroom. Mary journeyed to the bedroom. John journeyed to the bathroom. Sandra moved to the bedroom. Sandra travelled to the hallway.
Where is Sandra?
bathroom
Sandra moved to the kitchen. Sandra went back to the bathroom. Mary journeyed to the bedroom. John journeyed to the bathroom. Sandra moved to the bedroom. Sandra travelled to the hallway. Sandra travelled to the garden. Sandra travelled to the bathroom.
Where is Sandra?
bathroom
Sandra moved to the kitchen. Sandra went back to the bathroom. Mary journeyed to the bedroom. John journeyed to the bathroom. Sandra moved to the bedroom. Sandra travelled to the hallway. Sandra travelled to the garden. Sandra travelled to the bathroom. Daniel journeyed to the kitchen. John journeyed to the office.
Where is John?
kitchen
John travelled to the kitchen. Sandra moved to the kitchen.
Where is Sandra?
kitchen
John travelled to the kitchen. Sandra moved to the kitchen. Daniel went to the kitchen. John journeyed to the hallway.
Where is Mary?
kitchen
John travelled to the kitchen. Sandra moved to the kitchen. Daniel went to the kitchen. John journeyed to the hallway. Mary journeyed to the bedroom. Mary journeyed to the kitchen.
Where is Mary?
bedroom
John travelled to the kitchen. Sandra moved to the kitchen. Daniel went to the kitchen. John journeyed to the hallway. Mary journeyed to the bedroom. Mary journeyed to the kitchen. Mary travelled to the bedroom. Sandra travelled to the bedroom.
Where is Mary?
bedroom
John travelled to the kitchen. Sandra moved to the kitchen. Daniel went to the kitchen. John journeyed to the hallway. Mary journeyed to the bedroom. Mary journeyed to the kitchen. Mary travelled to the bedroom. Sandra travelled to the bedroom. John went to the office. John went back to the kitchen.

BABILong (1000 samples) : a long-context needle-in-a-haystack benchmark for LLMs

Preprint is on arXiv and code for LLM evaluation is available on GitHub.

BABILong Leaderboard with top-performing long-context models.

bAbI + Books = BABILong

BABILong is a novel generative benchmark for evaluating the performance of NLP models in processing arbitrarily long documents with distributed facts.

It contains 9 configs, corresponding to different sequence lengths in tokens: 0k, 1k, 2k, 4k, 8k, 16k, 32k, 128k.

from datasets import load_dataset
babilong = load_dataset("RMT-team/babilong-1k-samples", "0k")["qa1"]

Solving tasks with a long context size requires the model to distinguish important information from large amounts of irrelevant details. To simulate this behavior we ”hide” the sentences of the original task between the sentences of irrelevant text. We use the bAbI dataset [1] as facts and PG19 as background text. Resulting test samples might have lenghts of millions of tokens.

BABILong consists of 10 tasks designed for evaluation of basic aspects of reasoning. The bAbI tasks are generated by simulating a set of characters and objects engaged in various movements and interactions with each other in multiple locations. Each interaction is represented by a fact, e.g. ”Mary travelled to the office”, and the task is to answer a question using the facts from the current simulation, for instance, ”Where is Mary?”. The bAbI tasks vary based on the number of facts, question complexity and the aspects of reasoning.

First ten tasks of BABILong

Task Name facts per task supporting facts per task
qa1 single supporting fact 2 - 10 1
qa2 two supporting facts 2 - 68 2
qa3 three supporting facts 4 - 32 3
qa4 two arg relations 2 1
qa5 three arg relations 2 - 126 1
qa6 yes-no questions 2 - 26 1
qa7 counting 2 - 52 1-10
qa8 lists-sets 2 - 50 1-8
qa9 simple negation 2 - 10 1
qa10 indefinite knowledge 2 - 10 1

Join us in this exciting endeavor and let's push the boundaries of what's possible together!

Citation

@misc{kuratov2024search,
      title={In Search of Needles in a 10M Haystack: Recurrent Memory Finds What LLMs Miss}, 
      author={Yuri Kuratov and Aydar Bulatov and Petr Anokhin and Dmitry Sorokin and Artyom Sorokin and Mikhail Burtsev},
      year={2024},
      eprint={2402.10790},
      archivePrefix={arXiv},
      primaryClass={cs.CL}
}

References

[1] Weston, Jason, et al. "Towards ai-complete question answering: A set of prerequisite toy tasks." arXiv preprint arXiv:1502.05698 (2015).

License

Our code is released under the Apache 2.0 License. We use data from the PG-19 corpora (Rae et al., 2020) (Apache 2.0 License) and the bAbI dataset (Weston et al., 2016) (BSD License).

Downloads last month
0
Edit dataset card