dccuchile / wefe

WEFE: The Word Embeddings Fairness Evaluation Framework. WEFE is a framework that standardizes the bias measurement and mitigation in Word Embeddings models. Please feel welcome to open an issue in case you have any questions or a pull request if you want to contribute to the project!
https://wefe.readthedocs.io/
MIT License
173 stars 14 forks source link

Support gensim 4 #9

Closed raffaem closed 3 years ago

raffaem commented 3 years ago

Following #7, will this library support the upcoming gensim 4?

pbadillatorrealba commented 3 years ago

Hello @raffaem,

A few moments ago I made a deploy of a new version of the library. It includes by default compatibility with gensim 3.8.9 and gensim 4.

Tell me if there is any problem with this feature.

Best regards, Pablo.

Ali08011988 commented 1 year ago

solve this error ? AttributeError Traceback (most recent call last) Cell In[20], line 1 ----> 1 ldamallet_45 = gensim.models.wrappers.LdaMallet(mallet_path, corpus=corpus, num_topics=45, id2word=id2word, alpha= 5.0, random_seed = 750) 2 pprint(ldamallet_45.print_topics(num_words=10, num_topics= 45))

AttributeError: module 'gensim.models' has no attribute 'wrappers'