[go: nahoru, domu]

TensorFlow.js Layers: Sequence-to-Sequence (English-French Translation)

Description

This example demonstrates a pre-trained sequence-to-sequence models can be used in the browser. It is based on the Keras LSTM-seq2seq example and uses a charachter based model to translate the text (as opposed to a word based model).

The model is trained in Python and then converted to TensorFlow.js format.

This is not intended to be a production level translation model.

Status

Standing by.

Load Model

Test Model

Input English phrase:
Output French phrase: