NLPlab-skku / BERT-ASE

Code for "Never Too Late to Learn: Regularizing Gender bias in Coreference Resolution"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BERT-ASE

This repository contains the training code and data for the paper [Never Too Late to Learn: Regularizing Gender Bias in Coreference Resolution], published in WSDM 2023. pdf

β˜€ Overview

BERT-ASE, alleviates the gender bias problems in the public released BERT by two bias mitigation methods.
Our bias mitigation methods, Stereotype Neutralization (SN) and EWC, enable the PLMs to find proper gender pronouns in the given context without sterotypical or skewed misconceptions.

πŸ“– Reproducing Experiments

Before you start, you need to download the WinoBias datasets available on the corefBias.
Our preprocessing codes referenced previous work by By Daniel de Vassimon Manela, Boris van Breugel, Tom Fisher, David Errington. github link

πŸ”₯ Training

python finetune_both.py \
  --do_train
  --data augmented

About

Code for "Never Too Late to Learn: Regularizing Gender bias in Coreference Resolution"


Languages

Language:Python 100.0%