Skip to content

How to load 3.8.3 gensim word2vec model by new version 4.2.0 gensim model #3357

@Atsuyoshi-Funahashi

Description

@Atsuyoshi-Funahashi

Problem description

Hi! I have been using gensim 3.8.1 and want to use the latest version, gensim 4.2.0.

I have been able to load models made with older gensim versions, but when I changed to the latest version, I can no longer load them.
This is the error code.

Exception has occurred: AttributeError
Can't get attribute 'Vocab' on <module 'gensim.models.word2vec' from '/PATH'>

I would like to know if there is some way to load older models.

Versions

python 3.8.9
gensim 4.2.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue described a bugdifficulty easyEasy issue: required small fiximpact HIGHShow-stopper for affected usersreach MEDIUMAffects a significant number of users

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions