Skip to content

TurboNLP/Translate-Demo

Repository files navigation

A Demo of Applying TurboTransformers in Translation Task

Prerequisites

OpenNMT-py

Tencent/TurboTransformers

Usage

mkdir -p model/3_18
# download a pretrained translation model in that dir
# https://pan.baidu.com/s/1iWAtd4gYt7l2f4rXZoucxQ
# Password Code : su5x
https://pan.baidu.com/s/1iWAtd4gYt7l2f4rXZoucxQ
pip install -r requirements.txt
python ./test_predict_local.py [--use_gpu]

Known Issues

OpenNMT-py==1.1.0 will throw errors on some test cases. Upgrade it tp 1.2.0.

About

A Translation Task using TurboTransformers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages