0.3.0
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
preprocessorstogether with the parameterstrategyindicating whether to consider all the transformed words ('all') or only the first one encountered ('first'). - Renamed WordEmbeddingModel attributes
modelandmodel_nametowvandnamerespectively. - Renamed every run_query
word_embeddingargument tomodelin every metric.