Hunyuan Machine Translation with OpenVINO
This notebook supports two series of machine translation models developed by Tencent:
Content
Hunyuan Machine Translation with OpenVINO
This notebook supports two series of machine translation models developed by Tencent:
HY-MT1.5 — Built on the Hunyuan Dense V1 architecture, delivers high-quality translation across 33+ languages, including Chinese, English, Japanese, Korean, French, German, Spanish, Arabic, and many more.
- HY-MT1.5-1.8B — Lightweight model suitable for resource-constrained environments
- HY-MT1.5-7B — Larger model with higher translation quality
For more details about HY-MT1.5, please refer to the technical report.
Hy-MT2 — The next-generation series with improved translation quality and broader language coverage.
- Hy-MT2-1.8B — Lightweight next-gen model
- Hy-MT2-7B — Higher quality next-gen model
Notebook Contents
The tutorial consists of the following steps:
- Install prerequisites
- Select the model (HY-MT1.5-1.8B, HY-MT1.5-7B, Hy-MT2-1.8B, or Hy-MT2-7B) and weight compression format (INT4/INT8/FP16)
- Download and convert the model to OpenVINO IR format using Optimum Intel
- Compress model weights using NNCF
- Create a translation inference pipeline with OpenVINO Generate API
- Run an interactive Gradio translation demo with 33+ language support
Supported Languages
Chinese, English, French, Portuguese, Spanish, Japanese, Turkish, Russian, Arabic, Korean, Thai, Italian, German, Vietnamese, Malay, Indonesian, Filipino, Hindi, Traditional Chinese, Polish, Czech, Dutch, Khmer, Burmese, Persian, Gujarati, Urdu, Telugu, Marathi, Hebrew, Bengali, Tamil, Ukrainian, and more.
⚠️ EXPERIMENTAL NOTEBOOK
This notebook demonstrates a model that has not been fully validated with OpenVINO. It may be fully supported and validated in the future.
Installation Instructions
We recommend running the notebook in a virtual environment. You only need a Jupyter server to start. For details, please refer to [Installation Guide](../../README.md).
Source and license
- Source
- Intel OpenVINO Notebooks
- Original
- openvinotoolkit/openvino_notebooks/notebooks/hunyuan-translation
- License
- Apache-2.0