1

I'm going to use a pre-trained word2vec model, but I don't know how to load it in python.

This file is a MODEL file (703 MB). http://devmount.github.io/GermanWordEmbeddings/

Vahid SJ
  • 383
  • 1
  • 2
  • 12
  • Possible duplicate of [How to load a pre-trained Word2vec MODEL File and reuse it?](https://stackoverflow.com/questions/39549248/how-to-load-a-pre-trained-word2vec-model-file-and-reuse-it) – Abdulrahman Bres Nov 29 '17 at 00:09

1 Answers1

1

You can use gensim like this:

import gensim

# Load pre-trained Word2Vec model.
model = gensim.models.Word2Vec.load("filename.model")

More info here

Pravesh Agrawal
  • 869
  • 1
  • 11
  • 27