yandex / faster-rnnlm

Faster Recurrent Neural Network Language Modeling Toolkit with Noise Contrastive Estimation and Hierarchical Softmax
Other
562 stars 138 forks source link

big-endian machine #13

Open earonesty opened 8 years ago

earonesty commented 8 years ago

i want to be able to train a model on a linux box, but then ship to an ibm or sun box or any other for execution.

cannot load on a big-endian architecture when it was generated on a little-endian machine

Restoring existing nnet Bad model version: -1834810029

but other than that i can get the program to work fine on ibm/sun

akhti commented 8 years ago

Well, seems that that you need some more portable format to do this kind of stuff, e.g. text. That's not so hard to force faster-rnnlm to use text format.

Ok, maybe it's no absolutely trivial, but totally doable ;)