Coder Social home page Coder Social logo

kartikperisetla / gap-coreference Goto Github PK

View Code? Open in Web Editor NEW

This project forked from google-research-datasets/gap-coreference

1.0 1.0 0.0 1.08 MB

GAP is a gender-balanced dataset containing 8,908 coreference-labeled pairs of (ambiguous pronoun, antecedent name), sampled from Wikipedia for the evaluation of coreference resolution in practical applications.

License: Apache License 2.0

Python 100.00%

gap-coreference's Introduction

GAP Coreference Dataset

GAP is a gender-balanced dataset containing 8,908 coreference-labeled pairs of (ambiguous pronoun, antecedent name), sampled from Wikipedia and released by Google AI Language for the evaluation of coreference resolution in practical applications.

http://goo.gl/language/gap-coreference

Motivation

Coreference resolution is an important task for natural language understanding and the resolution of ambiguous pronouns a longstanding challenge. Nonetheless, existing corpora do not capture ambiguous pronouns in sufficient volume or diversity to accurately indicate the practical utility of models.

Google AI Language's GAP dataset is an evaluation benchmark comprising 8,908 coreference-labeled pairs of (ambiguous pronoun, antecedent name), sampled from Wikipedia to provide diverse coverage of challenges posed by real-world text. Importantly, GAP is gender-balanced to address the gender bias in coreference systems noted in our and other's analysis.

More details are available in our paper (which should be cited if you use or discuss GAP in your work):

@inproceedings{webster2018gap,
  title =     {Mind the GAP: A Balanced Corpus of Gendered Ambiguou},
  author =    {Webster, Kellie and Recasens, Marta and Axelrod, Vera and Baldridge, Jason},
  booktitle = {Transactions of the ACL},
  year =      {2018},
  pages =     {to appear},
}

Dataset Description

The GAP dataset release comprises three .tsv files, each with eleven columns.

The files are:

  • test 4,000 pairs, to be used for official evaluation
  • development 4,000 pairs, may be used for model development
  • validation 908 pairs, may be used for parameter tuning

The columns contain:

Column Header Description
1 ID Unique identifer for an example (two pairs)
2 Text Text containing the ambiguous pronoun and two candidate names. About a paragraph in length
3 Pronoun The pronoun, text
4 Pronoun-offset Character offset of Pronoun in Column 2 (Text)
5 A ^ The first name, text
6 A-offset Character offset of A in Column 2 (Text)
7 A-coref Whether A corefers with the pronoun, TRUE or FALSE
8 B ^ The second name, text
9 B-offset Character offset of B in Column 2 (Text)
10 B-coref Whether B corefers with the pronoun, TRUE or FALSE
11 URL ^^ The URL of the source Wikipedia page

^ Please note that systems should detect mentions for inference automatically, and access labeled spans only to output predictions.

^^ Please also note that there are two task settings, snippet-context in which the URL column may not be used, and page-context where the URL, and the denoted Wikipedia page, may be used.

Benchmarks

Performance on GAP may be benchmarked against the syntactic parallelism baseline from our above paper on the test set:

Task Setting M F B O
snippet-context 69.4 64.4 0.93 66.9
page-context 72.3 68.8 0.95 70.6

where the metrics are F1 score on Masculine and Feminine examples, Overall, and a Bias factor calculated as F / M.

Contact

To contact us, please use [email protected]

gap-coreference's People

Contributors

kelliemwebster avatar vaxelrod avatar daphnelg avatar

Stargazers

Kartik Perisetla avatar

Watchers

James Cloos 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.