Skip to content

0.3.0

Compare
Choose a tag to compare
@pbadillatorrealba 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 parameter strategy indicating whether to consider all the transformed words ('all') or only the first one encountered ('first').
  • Renamed WordEmbeddingModel attributes model and model_name to wv and name respectively.
  • Renamed every run_query word_embedding argument to model in every metric.