Coder Social home page Coder Social logo

timelineqa's Introduction

TimelineQA

TimelineQA is a benchmark for accelerating progress on querying lifelogs. TimelineQA can generate lifelogs of imaginary people. The episodes in the lifelog range from major life episodes such as high school graduation to those that occur on a daily basis such as going for a run.

TimelineQA Reference --- https://arxiv.org/abs/2306.01069:

@article{tan2023timelineqa,
      title={TimelineQA: A Benchmark for Question Answering over Timelines},
      author={Wang-Chiew Tan and Jane Dwivedi-Yu and Yuliang Li and Lambert Mathias and Marzieh Saeidi and Jing Nathan Yan and Alon Y. Halevy},
      journal={arXiv preprint:2306.01069},
      year={2023}
}

Disclaimer: We recognize that the lifelogs generated in this work are far from being exhaustively comprehensive. While we strived to make the lifelogs complex enough to benchmark and compare current state-of-the-art, these lifelogs would not be considered diverse in the sense that a social scientist would note, and are likely biased by the life experiences of its creators. We encourage future work in creating lifelogs that are more inclusive and faithful to all walks of life. This includes further work in making lifelogs that are more diverse in terms of life experiences, personas, and queries as well as more granular and complex in detail.

Generating a personal timeline

python3 generateDB.py -h
generateDB.py -h -y <finalyear> -d <directory> -o <outputfile> -s <seed> -c <category>

-y   final year. default is 2022
-d   directory to use for outputing files
-t   template file for generating text. defaults to "templates.json" if unspecified
-v   verbose mode if specified
-o   outputfilename. defaults to default.json
-s   seed for random number generator. defaults to 12345
-c   sparse|medium|dense daily episodes

For example,

python3 generateDB.py -y 2022 -s 11111 -c "sparse" -d mydir -o sparse-example.json

generates a timeline of a fictatious person starting from when the person is 18 years old up to the year 2022. A fictatious persona is first generated where this person is, by design, between 18 and 75 in 2022. The persona is stored as persona.json in the directory "mydir".

See our LICENSE file for licensing details.

timelineqa's People

Contributors

wangchiew avatar janedwivedi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.