input
stringlengths
50
322
question
stringclasses
4 values
target
stringclasses
6 values
Sandra went to the bathroom. Daniel went to the bedroom. Mary went to the garden. Sandra moved to the hallway.
Where is Sandra?
hallway
Mary journeyed to the bedroom. Sandra travelled to the kitchen. Mary travelled to the office. Mary journeyed to the bedroom. Mary travelled to the garden. Mary travelled to the bedroom.
Where is Mary?
bedroom
Daniel travelled to the hallway. John travelled to the office. John moved to the hallway. John moved to the office. Sandra went back to the office. John journeyed to the hallway. Daniel travelled to the bathroom. John went to the office. Daniel journeyed to the office. Mary went back to the bedroom.
Where is Daniel?
office
Mary went to the bathroom. Sandra went back to the garden. Sandra moved to the bathroom. Sandra went to the kitchen. John travelled to the hallway. John went to the bedroom.
Where is John?
bedroom
Daniel went to the hallway. Mary went back to the hallway. Sandra went to the office. Mary travelled to the garden.
Where is Mary?
garden
Mary moved to the bedroom. Mary journeyed to the hallway.
Where is Mary?
hallway
Mary travelled to the garden. John travelled to the bedroom. Sandra travelled to the garden. John moved to the office. John travelled to the bedroom. Daniel went to the hallway.
Where is Sandra?
garden
Sandra travelled to the bedroom. Mary travelled to the bathroom. Daniel went to the bedroom. Sandra went back to the bathroom.
Where is Sandra?
bathroom
Daniel journeyed to the kitchen. Mary travelled to the hallway.
Where is Mary?
hallway
John moved to the office. Sandra travelled to the kitchen. Sandra went to the hallway. John went to the bathroom. Mary went to the kitchen. Sandra moved to the bedroom. Daniel moved to the garden. Sandra went to the bathroom. Sandra moved to the kitchen. Sandra travelled to the hallway.
Where is Sandra?
hallway
John went to the office. John journeyed to the garden. Daniel moved to the kitchen. John journeyed to the hallway.
Where is Daniel?
kitchen
John went to the office. Mary went back to the garden. John went back to the garden. Mary travelled to the office. Daniel went to the office. Sandra went to the bedroom. Mary went to the hallway. Daniel went back to the garden.
Where is Mary?
hallway
Sandra moved to the bathroom. John journeyed to the office. Sandra went back to the hallway. John moved to the bedroom. Daniel moved to the garden. Daniel went back to the kitchen. Mary went back to the bedroom. John went back to the office. Mary travelled to the office. Sandra went back to the bedroom.
Where is John?
office
Mary travelled to the garden. Daniel went to the garden. John journeyed to the garden. Mary journeyed to the office. Daniel travelled to the bathroom. Daniel travelled to the office.
Where is John?
garden
Sandra journeyed to the garden. Mary moved to the kitchen. Mary went back to the bedroom. Mary moved to the office. Sandra moved to the bedroom. Sandra went back to the hallway. Sandra travelled to the bedroom. Sandra moved to the kitchen. John moved to the bedroom. John went back to the office.
Where is John?
office
John moved to the kitchen. John travelled to the office. Daniel moved to the bathroom. Sandra went to the bedroom. Sandra travelled to the office. Mary moved to the garden.
Where is Mary?
garden
John went back to the kitchen. Daniel journeyed to the hallway. Sandra went to the bathroom. Sandra went to the garden. Daniel travelled to the kitchen. Mary journeyed to the kitchen. John went back to the garden. Mary journeyed to the garden. Mary journeyed to the office. Mary went back to the bathroom.
Where is John?
garden
Sandra travelled to the bedroom. Daniel moved to the bedroom.
Where is Daniel?
bedroom
Sandra went to the hallway. John journeyed to the garden.
Where is Sandra?
hallway
Sandra journeyed to the kitchen. Mary journeyed to the hallway. Mary went back to the bedroom. Sandra moved to the bedroom. Mary went to the office. Sandra went to the hallway. Daniel travelled to the bedroom. Mary went to the garden.
Where is Mary?
garden
Daniel went to the bedroom. Mary moved to the hallway. Sandra journeyed to the bedroom. John went back to the kitchen. John journeyed to the garden. Daniel went back to the garden. Daniel travelled to the hallway. Daniel went back to the bedroom. Daniel travelled to the hallway. Mary travelled to the bedroom.
Where is Daniel?
hallway
Daniel journeyed to the office. Mary moved to the office.
Where is Mary?
office
Mary travelled to the office. Sandra journeyed to the garden. John moved to the kitchen. Mary travelled to the kitchen. Daniel went back to the hallway. John journeyed to the bathroom.
Where is John?
bathroom
Mary went back to the kitchen. Sandra travelled to the kitchen. John moved to the bathroom. Sandra travelled to the bedroom. John went to the hallway. Daniel went to the hallway. John went to the kitchen. Sandra moved to the kitchen.
Where is John?
kitchen
Daniel went back to the bedroom. John travelled to the kitchen. John journeyed to the hallway. Daniel moved to the hallway. Daniel went to the garden. Daniel travelled to the hallway. John moved to the garden. Sandra moved to the garden.
Where is John?
garden
Daniel travelled to the hallway. John travelled to the kitchen. Mary travelled to the bathroom. Daniel went back to the bedroom. Sandra went to the garden. Daniel went back to the garden. Sandra went back to the bathroom. Mary travelled to the hallway. Daniel went to the bedroom. John moved to the bathroom.
Where is Daniel?
bedroom
Daniel journeyed to the bedroom. Sandra journeyed to the office. Mary went to the garden. Mary travelled to the bedroom.
Where is Mary?
bedroom
John moved to the kitchen. John went to the bathroom. John journeyed to the office. Mary went to the bathroom. Daniel moved to the hallway. John went back to the hallway. John moved to the garden. Daniel journeyed to the bathroom. Mary travelled to the kitchen. Mary journeyed to the bathroom.
Where is John?
garden
Daniel went to the office. Mary travelled to the kitchen. Daniel travelled to the bathroom. John moved to the hallway. Mary went to the bathroom. Daniel journeyed to the office. Sandra went to the bedroom. Sandra went back to the bathroom.
Where is Sandra?
bathroom
Mary went back to the office. Daniel moved to the bedroom. Mary went to the garden. Daniel travelled to the kitchen. Mary went to the bedroom. Sandra travelled to the bathroom. John travelled to the bedroom. Daniel went to the bathroom.
Where is Sandra?
bathroom
Daniel travelled to the office. Daniel moved to the garden. Sandra went to the hallway. John went back to the bathroom.
Where is John?
bathroom
Sandra journeyed to the kitchen. Sandra moved to the bedroom. Mary journeyed to the garden. Daniel went to the hallway. Mary went back to the kitchen. Mary moved to the garden.
Where is Mary?
garden
Sandra journeyed to the bedroom. John went back to the bathroom. John moved to the bedroom. Daniel went back to the garden. Mary travelled to the garden. Daniel journeyed to the bathroom. Daniel went back to the hallway. Mary went back to the bathroom. John went back to the office. Daniel went back to the garden.
Where is John?
office
Mary moved to the bedroom. Mary moved to the bathroom. Mary went to the hallway. Sandra went back to the hallway. Mary went to the bathroom. John moved to the kitchen.
Where is John?
kitchen
Daniel moved to the office. Sandra journeyed to the kitchen. John moved to the garden. John went back to the kitchen.
Where is John?
kitchen
John journeyed to the kitchen. John journeyed to the garden. Mary went back to the bathroom. Mary moved to the garden.
Where is Mary?
garden
Daniel journeyed to the hallway. Mary moved to the garden. Mary went to the kitchen. Mary went back to the hallway. Daniel moved to the office. Sandra journeyed to the office.
Where is Sandra?
office
Daniel journeyed to the bathroom. John journeyed to the garden. Daniel travelled to the office. Daniel journeyed to the garden.
Where is John?
garden
John moved to the hallway. Mary travelled to the hallway. Sandra went to the bedroom. Sandra went back to the hallway. John went back to the office. Daniel travelled to the kitchen. John travelled to the hallway. Mary journeyed to the kitchen.
Where is John?
hallway
John went to the hallway. John travelled to the kitchen.
Where is John?
kitchen
John travelled to the office. John went back to the garden.
Where is John?
garden
Mary journeyed to the kitchen. Daniel travelled to the bathroom. Mary went back to the bathroom. Daniel journeyed to the garden. John travelled to the bedroom. Sandra journeyed to the kitchen.
Where is Mary?
bathroom
Mary moved to the hallway. Mary travelled to the kitchen.
Where is Mary?
kitchen
John went to the bathroom. John went to the kitchen. Sandra travelled to the kitchen. John moved to the bathroom.
Where is Sandra?
kitchen
Sandra went back to the kitchen. Daniel went to the bathroom. John went to the office. John went to the garden. John went back to the office. John moved to the hallway. Mary went to the kitchen. Daniel travelled to the bedroom. John travelled to the kitchen. Daniel moved to the bathroom.
Where is John?
kitchen
John went back to the kitchen. Mary travelled to the garden. John journeyed to the hallway. Sandra moved to the bathroom. Sandra journeyed to the kitchen. Sandra went back to the office. Sandra went to the kitchen. Sandra moved to the office.
Where is Sandra?
office
Daniel went to the office. Daniel went back to the hallway. John went back to the office. Daniel journeyed to the kitchen. Mary journeyed to the bathroom. John travelled to the hallway. Mary journeyed to the bedroom. Sandra journeyed to the garden. John journeyed to the garden. Mary went to the bathroom.
Where is John?
garden
John travelled to the kitchen. Sandra travelled to the bathroom. Mary went back to the bathroom. Sandra travelled to the garden. John went to the hallway. Sandra travelled to the bedroom. Sandra went back to the garden. John travelled to the bathroom. Daniel travelled to the hallway. John went to the hallway.
Where is Sandra?
garden
John travelled to the bathroom. Daniel went back to the garden. Sandra went back to the bedroom. John went back to the bedroom. Daniel went to the hallway. Mary went back to the bathroom. Daniel went to the kitchen. Daniel travelled to the bedroom. John went to the bathroom. Daniel travelled to the office.
Where is Daniel?
office
Sandra went to the kitchen. Sandra went to the bedroom.
Where is Sandra?
bedroom
Mary travelled to the bedroom. Daniel moved to the hallway. Daniel journeyed to the garden. Daniel journeyed to the hallway. Sandra journeyed to the hallway. John went to the garden.
Where is Daniel?
hallway
Mary moved to the bedroom. Sandra travelled to the garden. Sandra journeyed to the kitchen. Sandra moved to the garden. Sandra travelled to the kitchen. Daniel went to the garden.
Where is Daniel?
garden
Daniel moved to the garden. Sandra moved to the hallway. John went to the hallway. John went to the office. John went to the kitchen. John went back to the hallway.
Where is John?
hallway
Sandra travelled to the office. Mary moved to the kitchen. Daniel moved to the bathroom. Daniel went to the hallway.
Where is Mary?
kitchen
John journeyed to the kitchen. Daniel went back to the garden. Mary went back to the garden. Sandra travelled to the bedroom.
Where is Daniel?
garden
Daniel journeyed to the bedroom. Daniel moved to the hallway. Daniel went back to the bedroom. Sandra moved to the hallway.
Where is Daniel?
bedroom
Sandra journeyed to the kitchen. Daniel went back to the bathroom.
Where is Sandra?
kitchen
John moved to the kitchen. Mary went back to the bedroom. Mary went back to the bathroom. Mary moved to the kitchen.
Where is Mary?
kitchen
Mary went to the office. Sandra travelled to the bathroom. Sandra went to the hallway. Daniel journeyed to the kitchen.
Where is Sandra?
hallway
John journeyed to the bathroom. Mary travelled to the hallway. Mary travelled to the bedroom. John moved to the kitchen. Daniel moved to the garden. Mary went to the office. Sandra journeyed to the bedroom. Daniel went to the kitchen. Daniel moved to the office. Sandra travelled to the bathroom.
Where is Daniel?
office
Sandra went to the bedroom. Mary moved to the bedroom. John went to the office. Daniel journeyed to the garden. Mary travelled to the bathroom. Daniel moved to the hallway. Daniel travelled to the garden. John moved to the garden. Mary went to the garden. Mary went to the bedroom.
Where is Mary?
bedroom
John travelled to the kitchen. John went to the bathroom. Sandra travelled to the bedroom. Sandra journeyed to the garden.
Where is John?
bathroom
John travelled to the kitchen. Daniel went to the garden. Sandra moved to the garden. Sandra went to the office. Sandra went back to the bedroom. Daniel went to the kitchen. Daniel went back to the office. Mary moved to the hallway. Sandra went to the bathroom. Daniel journeyed to the bedroom.
Where is Daniel?
bedroom
Mary went to the hallway. Daniel journeyed to the office. John moved to the bedroom. Mary went back to the garden.
Where is Mary?
garden
John journeyed to the kitchen. John travelled to the office. John journeyed to the kitchen. Sandra travelled to the bathroom. John went back to the office. Mary journeyed to the office. John journeyed to the kitchen. John travelled to the bedroom.
Where is Mary?
office
Mary went to the bathroom. Sandra went to the bathroom. Daniel journeyed to the kitchen. Daniel went back to the office. Mary went to the hallway. Mary journeyed to the office.
Where is Daniel?
office
John moved to the garden. Daniel travelled to the garden. Mary journeyed to the kitchen. Daniel moved to the office.
Where is Daniel?
office
Mary went back to the garden. John travelled to the hallway. Mary went back to the hallway. Daniel travelled to the bathroom. Sandra moved to the garden. John travelled to the garden. John went to the bedroom. Sandra moved to the bathroom.
Where is Daniel?
bathroom
Sandra journeyed to the office. John went back to the bathroom.
Where is Sandra?
office
John travelled to the kitchen. Daniel went to the kitchen. John went back to the hallway. John moved to the office. Mary moved to the bedroom. John travelled to the bedroom. John went back to the bathroom. Sandra moved to the kitchen.
Where is Mary?
bedroom
Daniel went to the bedroom. Daniel travelled to the garden. Daniel went back to the hallway. Daniel travelled to the bathroom. Sandra journeyed to the office. John journeyed to the garden.
Where is Sandra?
office
Daniel travelled to the bathroom. Mary went to the hallway. Sandra travelled to the bathroom. Mary went to the garden. Daniel went back to the office. Sandra went back to the kitchen. Sandra journeyed to the office. John went to the bedroom.
Where is Mary?
garden
John moved to the bathroom. Daniel went to the bathroom. John moved to the garden. Mary went back to the office. Mary went to the garden. Sandra went back to the office. Daniel moved to the garden. Mary went back to the bathroom. Mary went to the kitchen. Daniel went to the office.
Where is Daniel?
office
Daniel moved to the hallway. Mary journeyed to the kitchen. Mary went back to the hallway. Sandra went to the office. John journeyed to the kitchen. Mary travelled to the office.
Where is Mary?
office
Daniel journeyed to the bathroom. John went to the kitchen. John travelled to the garden. Mary went back to the kitchen.
Where is John?
garden
John went to the garden. Daniel went back to the kitchen. Daniel journeyed to the bathroom. Mary moved to the hallway. Mary went to the office. Mary went to the bedroom. Mary moved to the hallway. Daniel went to the hallway.
Where is Mary?
hallway
Mary moved to the kitchen. Sandra moved to the kitchen. Mary went to the garden. John moved to the bedroom. Mary journeyed to the office. Mary went to the bathroom. Sandra travelled to the garden. Daniel went back to the hallway.
Where is Sandra?
garden
Mary went back to the kitchen. Mary journeyed to the office. Mary journeyed to the kitchen. Daniel moved to the hallway. Daniel went back to the garden. Sandra travelled to the hallway. Mary travelled to the office. Mary went back to the bathroom. Mary went back to the garden. John travelled to the kitchen.
Where is Mary?
garden
John moved to the bedroom. Mary went back to the bedroom. Daniel moved to the bathroom. Daniel moved to the office. Sandra journeyed to the bedroom. Mary moved to the garden. John went back to the garden. Sandra went to the bathroom. John travelled to the bedroom. Sandra travelled to the kitchen.
Where is Mary?
garden
John journeyed to the bathroom. John went to the office.
Where is John?
office
John went to the bathroom. John went to the garden. Sandra went back to the bathroom. John moved to the bedroom. John moved to the bathroom. Daniel journeyed to the hallway. Mary journeyed to the hallway. John went to the hallway.
Where is Mary?
hallway
Sandra travelled to the office. Sandra travelled to the garden. Sandra went to the kitchen. Daniel went to the kitchen.
Where is Sandra?
kitchen
John moved to the kitchen. Daniel journeyed to the office. Daniel moved to the hallway. John travelled to the office. Sandra went back to the office. Mary travelled to the bathroom.
Where is Daniel?
hallway
Mary moved to the garden. Daniel went to the office. Daniel journeyed to the garden. Daniel travelled to the office. Mary moved to the bathroom. Mary went back to the bedroom.
Where is Mary?
bedroom
John went to the garden. Daniel moved to the hallway. Sandra journeyed to the office. Mary travelled to the hallway.
Where is John?
garden
Sandra journeyed to the office. John went back to the bathroom. John journeyed to the garden. John travelled to the kitchen. Daniel moved to the garden. John travelled to the hallway. Daniel journeyed to the kitchen. Sandra travelled to the garden.
Where is Sandra?
garden
Daniel moved to the hallway. John travelled to the bedroom. John journeyed to the bathroom. Daniel travelled to the bedroom. Mary journeyed to the kitchen. Daniel went to the bathroom. Daniel went back to the office. Daniel moved to the kitchen. Mary moved to the hallway. John went back to the kitchen.
Where is Daniel?
kitchen
John went back to the bathroom. Sandra journeyed to the kitchen. Mary went back to the office. Mary went to the bedroom.
Where is Sandra?
kitchen
Sandra moved to the office. John journeyed to the hallway. John went back to the kitchen. Sandra travelled to the kitchen. Daniel went back to the bedroom. Sandra went to the bedroom.
Where is Daniel?
bedroom
John journeyed to the hallway. Daniel moved to the kitchen. Daniel journeyed to the bedroom. Sandra went to the hallway. Daniel journeyed to the office. John went back to the garden. Daniel went to the bedroom. Mary moved to the bathroom. Mary moved to the office. Daniel went back to the garden.
Where is John?
garden
John travelled to the bedroom. Mary travelled to the office.
Where is John?
bedroom
Daniel went back to the hallway. Daniel went back to the garden. Sandra went to the garden. John went back to the bathroom.
Where is Daniel?
garden
Mary went back to the kitchen. Sandra travelled to the hallway. Mary travelled to the office. John went to the bedroom. Daniel travelled to the hallway. John went back to the office. John journeyed to the bedroom. Mary moved to the kitchen. Mary travelled to the bedroom. Sandra went back to the bathroom.
Where is John?
bedroom
Mary journeyed to the bathroom. John went to the garden. Mary went to the bedroom. Mary travelled to the kitchen. Mary went back to the office. Sandra moved to the garden.
Where is Mary?
office
John went to the garden. Mary went back to the bathroom. Daniel travelled to the kitchen. Daniel moved to the bathroom. John moved to the office. Mary went back to the office.
Where is Mary?
office
Sandra travelled to the garden. Mary went back to the kitchen. Daniel moved to the bedroom. Sandra went back to the hallway. Mary went back to the office. Sandra went to the bathroom.
Where is Mary?
office
Sandra travelled to the bathroom. Mary travelled to the office. Sandra travelled to the hallway. Mary moved to the bathroom. John went to the office. Sandra journeyed to the office. John went back to the bathroom. John travelled to the kitchen. John moved to the office. Daniel went back to the kitchen.
Where is Sandra?
office
John journeyed to the garden. Sandra travelled to the bedroom. Sandra went to the garden. Mary journeyed to the bathroom.
Where is Sandra?
garden
John travelled to the garden. Sandra travelled to the kitchen.
Where is John?
garden
Daniel moved to the office. John journeyed to the kitchen.
Where is John?
kitchen

BABILong (5k train samples) : a long-context needle-in-a-haystack benchmark for LLMs

Preprint is on arXiv

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 10 configs, each corresponding to its bAbI task. Each config has spltis corresponding to different sequence lengths in tokens: '4k', '32k', '128k', '256k', '512k', '1M'

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).

Downloads last month
58