Skip to content

This example demonstrated loading a model and using it in the browser. This model is trained to predict the sentiment of a short restaurant review (as a score between 0 and 1). The training is done server side using Python and then converted into a TensorFlow.js model. The model is trained using YELP reviews that have been truncated to a maximu…

Notifications You must be signed in to change notification settings

aflita/nlp-in-tfjs

Repository files navigation

nlp-in-tfjs

Specifically made for Dicoding Indonesia. This example demonstrated loading a model and using it in the browser. This model is trained to predict the sentiment of a short restaurant review (as a score between 0 and 1). The training is done server side using Python and then converted into a TensorFlow.js model. The model is trained using YELP reviews that have been truncated to a maximum of 18 words, only the 2000 most used words in the reviews are used. You can experiment with the model on this page.

About

This example demonstrated loading a model and using it in the browser. This model is trained to predict the sentiment of a short restaurant review (as a score between 0 and 1). The training is done server side using Python and then converted into a TensorFlow.js model. The model is trained using YELP reviews that have been truncated to a maximu…

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published