Skip to content

Latest commit

 

History

History

fugumt-ja-en

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

FuguMT (ja-en)

Input

Text (Japanese) to translate

  • Example
これは猫です

Output

Translated (Japanese) text

translation_text: this is a cat

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-ja-en.py

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

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

Reference

Framework

Pytorch

Model Format

ONNX opset=11

Netron

encoder_model.onnx.prototxt decoder_model.onnx.prototxt