Open Arjunsankarlal opened 5 years ago
The current code print the metrics and losses of train, dev, and test sets at the end of each epoch. If you want to test on other datasets , you need to save the model which the current code dose not support. But you can simply follow the instruction of saving models in Keras and add this part by yourself. Then you can reload the saved model, and use it to make predictions on new instances.
Thanks for the information @ruidan. Well how to predict the output of some sentence with the current pretrained model that is available?
Hi, I tried retraining the model, it went on training and showed the loss during every epoch but at the end of the training it didn't save anything (Model or Word vector file), which I could use for further predictions. Also is there a way to use model and find the sentiment of the input sentence?