Giter VIP home page Giter VIP logo

matt-seb-ho / wikiwhy Goto Github PK

View Code? Open in Web Editor NEW
41.0 4.0 1.0 28.9 MB

WikiWhy is a new benchmark for evaluating LLMs' ability to explain between cause-effect relationships. It is a QA dataset containing 9000+ "why" question-answer-rationale triplets.

License: MIT License

Python 100.00%
artificial-intelligence dataset explainable-ai iclr2023 machine-learning nlp nlp-datasets open-domain-qa question-answering

wikiwhy's Introduction

WikiWhy

Paper | Poster

WikiWhy is a new benchmark for evaluating models' ability to explain between cause and effect. WikiWhy is a QA dataset built around the novel auxiliary task of explaining the answer to a "why" questions in natural language. It contains over 9,000 โ€œwhyโ€ question-answer-rationale triples, grounded on Wikipedia facts across a diverse set of topics. Each rationale is a set of supporting statements connecting the question to the answer.

This paper was accepted as a top 5% paper with oral presentation to the International Conference on Learning Representations (ICLR 2023) in Kigali, Rwanda.

Figure 1.

Dataset Usage

In light of data contamination concerns, and to prevent WikiWhy from inadvertently being included in pre-training corpora, we've separated WikiWhy's columns into separate files. We hope that separating the inputs and output labels can help preserve WikiWhy's value as a benchmark. To load WikiWhy into a single dataframe, we provide a simple script in /code/load_wikiwhy.py. Either copy the function source or import into your code.

from load_wikiwhy import load_wikiwhy
wikiwhy = load_wikiwhy(directory_path="../dataset/v1.1/")

Updates

  • 04/24/2023 Added paper+poster links, and code/instructions to load in WikiWhy
  • 02/28/2023 Added dataset version 1.1
  • 02/24/2023 Added dataset version 1.0

Citation

@inproceedings{
    ho2023wikiwhy,
    title={WikiWhy: Answering and Explaining Cause-and-Effect Questions},
    author={Matthew Ho and Aditya Sharma and Justin Chang and Michael Saxon and Sharon Levy and Yujie Lu and William Yang Wang},
    booktitle={International Conference on Learning Representations},
    year={2023},
    url={https://openreview.net/forum?id=vaxnu-Utr4l}
}

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.