Skip to content

ldtalent/harshit-lang-translator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Sequence-to-Sequence English-French Translation using Nodejs and Tensorflowjs

This code 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.loadLayersModel()

Training Overview

The training data was 149,861 English-French sentence pairs available from http://www.manythings.org/anki.

The model was trained in Node.js with Tensorflow.js, which the model code is converted from Python to TypeScript by @huan based on the translation.py example.

LAUNCHING THE APP

To launch the application, do

yarn
yarn watch

in the translation folder destination

Credits

I have learnt alot from the tensorflowjs examples and have followed their guide to produce this code.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published