hunkim / word-rnn-tensorflow

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

How to calculate perplexity using this library #50

Closed shanalikhan closed 7 years ago

shanalikhan commented 7 years ago

Hi, Would you please tell me how to calculate the perplexity using this RNN ? may be some fields or location you can help and fields from where i can get

shanalikhan commented 7 years ago

Found answer at : http://stackoverflow.com/questions/41881308/how-to-calculate-perplexity-of-rnn-in-tensorflow