tttza/fugumt-en-ja-onnx
By tttza · ↓ 12 · ♥ 0 · Updated 2026-03-03
What's in this repo
This page lists the files in tttza/fugumt-en-ja-onnx, including decoder_model.onnx, decoder_with_past_model.onnx, encoder_model.onnx.
- 3 ONNX models (.onnx files)
- 10 files, including 3 .json, 3 .onnx, 2 .spm, 1 .md
- Last updated 2026-03-03
ONNX files
| File | Size | Download |
|---|---|---|
| decoder_model.onnx | — | Download |
| decoder_with_past_model.onnx | — | Download |
| encoder_model.onnx | — | Download |
How to use
These ONNX files can be loaded with ONNX Runtime. To inspect a model graph, upload the file to the Netron viewer. Download links point to the original files on Hugging Face.
README
license: cc-by-sa-4.0 tags:
- translation
- en-ja
- marian
- onnx language:
- en
- ja base_model: staka/fugumt-en-ja library_name: optimum pipeline_tag: translation
fugumt-en-ja-onnx
ONNX-converted version of staka/fugumt-en-ja (FuguMT English→Japanese translation model).
Model Details
- Architecture: MarianMT (encoder-decoder)
- Source model: staka/fugumt-en-ja
- Conversion: Exported to ONNX via Optimum
- License: CC BY-SA 4.0 (same as the original model)
Usage
This model is intended for use with ONNX Runtime (e.g., via Microsoft.ML.OnnxRuntime.DirectML in C# or optimum in Python).
Python (Optimum)
from optimum.onnxruntime import ORTModelForSeq2SeqLM
from transformers import AutoTokenizer
model = ORTModelForSeq2SeqLM.from_pretrained("tttza/fugumt-en-ja-onnx")
tokenizer = AutoTokenizer.from_pretrained("tttza/fugumt-en-ja-onnx")
inputs = tokenizer("Hello, how are you?", return_tensors="pt")
outputs = model.generate(**inputs)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
Files
| File | Description |
|---|---|
encoder_model.onnx |
Encoder |
decoder_model.onnx |
Decoder (first token) |
decoder_with_past_model.onnx |
Decoder with KV cache |
source.spm |
Source SentencePiece model |
target.spm |
Target SentencePiece model |
config.json |
Model configuration |
tokenizer_config.json |
Tokenizer configuration |
vocab.json |
Vocabulary |
Attribution
This model is a format-converted derivative of staka/fugumt-en-ja. Original model by staka, licensed under CC BY-SA 4.0.
Model info
Created: 2026-03-03
Updated: 2026-03-03
View on Hugging FaceFiles (10)
Related models
More from tttza
No other models by this author.