All Projects → llSourcell → Node_js_machine_learning

llSourcell / Node_js_machine_learning

This is the code for "Node JS Machine Learning" By Siraj Raval on Youtube

Programming Languages

python
139335 projects - #7 most used programming language

TensorFlow.js Example: Sequence-to-Sequence English-French Translation

Overview

This is the code for this video on Youtube by Siraj Raval on Translation systmes using NodeJS and TensorflowJS. The notes are in the jupyter notebook.

This demo shows how to perform sequence-to-sequence prediction using the Layers API of TensorFlow.js.

It demonstrates loading a pretrained model hosted at a URL, using tf.loadModel()

The model was trained in Python Keras, based on the lstm_seq2seq example. The training data was 149,861 English-French sentence pairs available from http://www.manythings.org/anki.

To launch the demo, do

yarn
yarn watch

See this example live!

Credits

credits for the code go to google, i've merely created a wrapper to get people started.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].