Skip to content

Latest commit

 

History

History

fugumt-en-ja

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

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 transformers
pip3 install sentencepiece

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