Git Product home page Git Product logo

databill86 / gender-unbiased_bert-based_pronoun_resolution Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yorko/gender-unbiased_bert-based_pronoun_resolution

0.0 0.0 0.0 6.34 MB

Source code for the ACL workshop paper and Kaggle competition by Google AI team

Home Page: https://www.kaggle.com/c/gendered-pronoun-resolution

License: Apache License 2.0

Python 37.81% Jupyter Notebook 62.08% Shell 0.11%

gender-unbiased_bert-based_pronoun_resolution's Introduction

Source code for the paper "Resolving Gendered Ambiguous Pronouns with BERT"

ArXiv, accepted at the 1st ACL Workshop on Gender Bias for Natural Language Processing at ACL 2019 in Florence on 2nd August 2019.

Kaggle competition

Abstract

Pronoun resolution is part of coreference resolution, the task of pairing an expression to its referring entity. This is an important task for natural language understanding and a necessary component of machine translation systems, chat bots and assistants. Neural machine learning systems perform far from ideally in this task, reaching as low as 73% F1 scores on modern benchmark datasets. Moreover, they tend to perform better for masculine pronouns than for feminine ones. Thus, the problem is both challenging and important for NLP researchers and practitioners. In this project, we describe our BERT-based approach to solving the problem of gender-balanced pronoun resolution. We are able to reach 92% F1 score and a much lower gender bias on the benchmark dataset shared by Google AI Language team.

Navigation

  • fine-tuned_model contains the code reproducing Ken Krige's 5th place solution
  • frozen_model contains the code reproducing 22th place solution by team "[ods.ai] five zeros" (Yury Kashnitsky, Matei Ionita, Vladimir Larin, Dennis Logvinenko, and Atanas Atanasov)
  • analysis folder contains scripts for comparison with results by Google AI Language team reported in this paper

gender-unbiased_bert-based_pronoun_resolution's People

Contributors

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