Training an LSTM network and sampling the resulting model in ml5.js



In this post, we will learn how to train a language model using a LSTM neural network with your own custom dataset and use the resulting model inside ml5.js, so you will able to sample from it directly from the browser!

This is a companion discussion topic for the original entry at


I have checked the demo on
it gives us results in English,
how can I get the search results in french?


When I enter my paperspace username and password the node console always states its invalid; however I use the same credentials to login to my account.