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.
forked from aflita/nlp-in-tfjs
-
Notifications
You must be signed in to change notification settings - Fork 0
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…
EryantoA/nlp-in-tfjs
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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 0
No packages published
Languages
- Jupyter Notebook 80.8%
- CSS 7.9%
- JavaScript 6.6%
- HTML 4.7%