We were using DL4J Beta6 version to load Glove 300d word vector file. It stopped working after upgrading to beta7. I posted this same question in Gitter and was given this commit history Remove GloVe (#437) · eclipse/deeplearning4j@2cdb2b3 · GitHub.
Seems the support for Glove was removed in Beta7. Is that the case?
However the beta7 documentation shows the file can be loaded using the loadTxtVectors method.
I did try that. It takes forever, even for the 50d file. It doesn’t load at all. I did try few other methods in the WordVectorSerializer class. None of those worked.
We have removed the support for creating new Glove based word vector files. However, once they are created there is no difference between a word vector file that was created by word2vec and glove, so loading them should not be affected.
Can you share more details about your System and how big your glove file is?
Edit: It appears to be a problem with the mkldnn implementation. If you don’t want to go back and forth between versions, you can also disable mkldnn with Nd4j.getEnvironment().allowHelpers(false); before loading and save the file in another format that way.