Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
README.md
__init__.py
config_online.py
sample_server.py

README.md

Interactive Neural Machine Translation web demo

This is a web demo of an interactive, adaptive neural machine translation system.

Structure

The system follows a client-server architecture. Take a look here for a client website.

How to run a NMT server

In order to provide high response rate and translation speed, it is recommended that the server has a GPU available. By default, the server requires the InteractiveNMT branch from the Multimodal Keras Wrapper.

Run python3 sample_server.py --help for obtaining information about the options of the server.

We'll start the server in the localhost port 8001 from the address 127.0.0.1. We'll use a dataset instance stored in datasets/Dataset.pkl and a model and config stored in trained_models:

python3 ./sample_server.py --dataset datasets/Dataset.pkl --address 127.0.0.1 --port=8001  
        --config trained_models/config.pkl --models trained_models/update_15000

Check out the demo!.

You can’t perform that action at this time.