Skip to content

Latest commit

 

History

History
55 lines (37 loc) · 990 Bytes

File metadata and controls

55 lines (37 loc) · 990 Bytes

FuguMT (en-ja)

Input

Text (English) to translate

  • Example
This is a cat.

Output

Translated (Japanese) text

translation_text: これは猫です。

Requirements

This model requires additional module.

pip3 install ailia_tokenizer

Usage

Automatically downloads the onnx and prototxt files on the first run. It is necessary to be connected to the Internet while downloading.

For the sample text,

$ python3 fugumt-en-ja.py

If you want to specify the input text, put the text after the --input option.

$ python3 fugumt-en-ja.py --input TEXT

Reference

Framework

Pytorch

Model Format

ONNX opset=11

Netron

seq2seq-lm-with-past.onnx.prototxt