Pytorch implementation for debiasing sentence representations.
Correspondence to:
- Paul Liang ([email protected])
- Irene Li ([email protected])
Towards Debiasing Sentence Representations
Paul Pu Liang, Irene Li, Emily Zheng, Yao Chong Lim, Ruslan Salakhutdinov, and Louis-Philippe Morency
ACL 2020
First check that the requirements are satisfied:
Python 3.6
torch 1.2.0
huggingface transformers
numpy 1.18.1
sklearn 0.20.0
matplotlib 3.1.2
The next step is to clone the repository:
git clone https://github.com/pliang279/sent_debias.git