# Beta 7 - Glove Word Vector

**URL:** <https://community.konduit.ai/t/beta-7-glove-word-vector/540>\
**Category:** DL4J\
**Created:** [May 19, 2020, 4:28am UTC](https://community.konduit.ai/t/beta-7-glove-word-vector/540 "2020-05-19T04:28:37Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![treo](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.konduit.ai/treo/32/47_2.png) [@treo](https://community.konduit.ai/u/treo)\
**Post date:** [May 19, 2020, 6:40am UTC](https://community.konduit.ai/t/beta-7-glove-word-vector/540/4 "2020-05-19T06:40:31Z")

</div>

It looks like you have stumbled upon a bug in beta7.

As a workaround, you can load the file in beta6 and then save it as a binary in dl4j format like this:

```auto
Word2Vec wordVectors = WordVectorSerializer.readWord2VecModel(new File("glove.6B.50d.txt"));
WordVectorSerializer.writeWord2VecModel(wordVectors, new File("glove.bin"));

```

And then you can reload the binary in beta7:

```auto
Word2Vec wordVectors = WordVectorSerializer.readWord2VecModel(new File("glove.bin"));

```

We have filed an issue for the underlying problem: [ND4J: concat op fails with 3073 or more inputs on CPU · Issue #8961 · eclipse/deeplearning4j · GitHub](https://github.com/eclipse/deeplearning4j/issues/8961)

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.

---

_[View the full topic](https://community.konduit.ai/t/beta-7-glove-word-vector/540)._
