0.3.0
pbadillatorrealba
released this
06 Oct 15:44
·
88 commits
to master
since this release
This new version includes a new debias module as well as a complete refactoring to the preprocessing of word embeddings.
Changelog:
- Implemented Bolukbasi et al. 2016 Hard Debias.
- Implemented Thomas Manzini et al. 2019 Multiclass Hard Debias.
- Implemented a fetch function to retrieve gn-glove female-male word sets.
- Moved the transformation logic of words, sets and queries to embeddings to its own module: preprocessing
- Enhanced the preprocessor_args and secondary_preprocessor_args metric preprocessing parameters to an list of preprocessors
preprocessors
together with the parameterstrategy
indicating whether to consider all the transformed words ('all'
) or only the first one encountered ('first'
). - Renamed WordEmbeddingModel attributes
model
andmodel_name
towv
andname
respectively. - Renamed every run_query
word_embedding
argument tomodel
in every metric.