tolga-b / debiaswe Goto Github PK
View Code? Open in Web Editor NEWRemove problematic gender bias from word embeddings.
Home Page: https://arxiv.org/abs/1607.06520
License: MIT License
Remove problematic gender bias from word embeddings.
Home Page: https://arxiv.org/abs/1607.06520
License: MIT License
Does it has a limitation for the size of the original word2vec bin file? I am trying to use debias.py for a ~12G pre-trained word2vec, but it returns a memoryerror.
Hi, I was wondering if you're planning on release a set of debiased embeddings which also address racial bias? You mention it in the related paper that it exists but you don't address it here. Will there be a follow-up work on this. It would be good to have pretrained word embeddings which address this as well.
Hi, I was wondering if you could release the code related to soft debiasing? It would be nice to see the comparison between soft and hard debiasing.
I was looking in the code and wondered if it handled the indirect bias. So I wonder if it really exists there and I just can not get it.
Another thing, in the python tutorial notebook, computed the professions with respect to the projection score,as
sp = sorted([(E.v(w).dot(v_gender), w) for w in profession_words])
so I wonder if this is the same like computing the direct bias.
Hello Debiaswe Research Team, Thank you for making the code related to your paper available. This is very helpful! I am writing to seek clarification on analyzing gender bias in word vectors associated with professions.
In your paper, you suggest using cosine similarity between a given profession vector and the top PCA component. I am trying to replicate the same in the wiki context. Unfortunately, I am getting results opposite to expected.
For example, when I compute the cosine similarity between the waitress vector (or nurse vector) and the top gender principal component, I get a -ve score. However, when I compute the cosine similarity between the same profession vector and she - he vector (as you show in the example here), I get a +ve score.
I am confused about why the sign flips when using PCA and straightforward gender vector. I request your help.
Thank you!
sbs
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.