yandexdataschool / nlp_course

YSDA course in Natural Language Processing
https://lena-voita.github.io/nlp_course.html
MIT License
9.83k stars 2.61k forks source link

Update homework_part1.ipynb #152

Closed nakazkan closed 1 month ago

nakazkan commented 2 months ago

Пофиксил ошибку в использовании gensim эмбедов. Теперь видимо достаточно писать embeddings.vectors вместо embeddings.wv.vectors.

review-notebook-app[bot] commented 2 months ago

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

poedator commented 1 month ago

Assuming Gensim version >= 4 the new way is correct. for someone still using gensim <= 3, use embeddings.wv.vectors