hunkim / word-rnn-tensorflow

Multi-layer Recurrent Neural Networks (LSTM, RNN) for word-level language models in Python using TensorFlow.
MIT License
1.3k stars 493 forks source link

Using Word vs char level models #10

Closed ddofer closed 8 years ago

ddofer commented 8 years ago

How can I use word vs char level models? I don't see params for it in the config/train file. Thanks!

PS: Can the word level models support pretrained word embeddings?

hunkim commented 8 years ago

For char rnn, use https://github.com/sherjilozair/char-rnn-tensorflow.

I think you can use pre-trained embeddings.