openai / generating-reviews-discovering-sentiment

Code for "Learning to Generate Reviews and Discovering Sentiment"
https://arxiv.org/abs/1704.01444
MIT License
1.51k stars 379 forks source link

Train over new data #30

Open sicotronic opened 7 years ago

sicotronic commented 7 years ago

I'm sorry if it is just me that couldn't find it, but can you also provide the code to (re)train the model on new data?

friesel commented 7 years ago

Agree: https://github.com/openai/generating-reviews-discovering-sentiment/issues/17

pickou commented 7 years ago

Wish to get the reply from the author as soon as possible. I wonder how to fine tune the model using my own dataset.

loretoparisi commented 7 years ago

👍

jonny-d commented 6 years ago

Hello,

Here is code to train a multiplicative LSTM language model in Tensorflow

Hope it works! please feel free to leave feedback!

nkooli commented 6 years ago

i am trying to test over a new dataset. I trained the mlstm over my dataset using the code in "multiplicative LSTM language model in Tensorflow". This generates me a three files : model.data, model.index, model.meta How can generates the 15 .npy files (0.npy, 1.npy, ..., 14.npy) to test the sentiment analysis code in https://github.com/openai/generating-reviews-discovering-sentiment thank you !