Skip to content
This repository has been archived by the owner on Aug 24, 2021. It is now read-only.

TartuNLP/nazgul

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nazgul

Multilingual multi-domain Neural machine translation server based on Amazon SockEye. One or several Nazgul instances can serve translations to Sauron.

Requirements:

pip3 install mxnet sentencepiece sockeye mosestokenizer estnltk

Usage in command-line:

cat input_text | ./nmtnazgul.py  translation_model  truecaser_model  segmenter_model [output_lang [output_style]]

translation_model: path to a trained Sockeye model folder
truecaser_model: path to a trained TartuNLP truecaser model file
segmenter_model: path to a trained Google SentencePiece model file

output_lang: output language (one of the following: lt, fi, de, ru, lv, et, en)
output_style: output style (one of the following: inf, fml, auto; default: auto)

Usage as a socket server:

./nmtnazgul.py translation_model  truecaser_model  segmenter_model

The server receives requests from Sauron and sends back translations.

About

Multilingual multi-domain neural machine translation server.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages