Mindket

opus-mt-en-zh

Newversion 1 · updated

Overview

Translates English text into Chinese, covering Mandarin and several other Chinese varieties, with a compact transformer model you run yourself. For developers and teams who need local English to Chinese translation.

opus-mt-en-zh is a kit in the Writing category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.

At a glance

You need
  • Python with pip
  • The transformers library, which the model is listed for
  • A list of the target tags you plan to use, taken from the card
Runs in
  • A Python script or notebook with the transformers library
  • Windows, macOS or Linux, running on your own machine
  • A backend service that translates English text into Chinese
Start with
pip install -U huggingface_hub
hf download Helsinki-NLP/opus-mt-en-zh

Platform

WindowsOperating system
macOSOperating system
LinuxOperating system

About

What it is

opus-mt-en-zh is an English to Chinese translation model from Helsinki-NLP, part of the OPUS machine translation work. It is a transformer trained on the Tatoeba Challenge data. One model covers many Chinese varieties, so you tell it which one you want with a short tag at the start of each sentence.

Who it suits

It suits developers and teams who want English to Chinese translation under their own control, and researchers who need a plain baseline to compare against.

IndustryWho uses itHow they use itExample
Software localizationProduct teamsDraft Chinese strings for an app from English textTranslating interface labels
PublishingEditorsGet a rough Chinese version of English copy to reviewA first pass on an article
EducationLanguage learnersCompare an English sentence with a Chinese renderingChecking how a phrase is translated
ResearchMachine translation researchersUse a known baseline for English to ChineseComparing BLEU against a new model

Skip it if you need any other language pair, since this one only goes from English to Chinese.

Where to use it

  • A Python script or notebook with the transformers library
  • Windows, macOS or Linux, running on your own machine
  • A backend service that translates English text into Chinese
Use caseWhoWhat they get back
Sentence translationDevelopersA Chinese version of each English sentence
Variety selectionLocalization teamsOutput in Mandarin or another listed Chinese variety, chosen by tag
Baseline testingResearchersA reference score to compare other systems against

How to set it up

You need these first.

  • Python with pip
  • The transformers library, which the model is listed for
  • A list of the target tags you plan to use, taken from the card
  1. Install the Hugging Face hub library with pip.
  2. Download the model files with the hf command.
  3. Load the model with the transformers library, following the model card.
pip install -U huggingface_hub
hf download Helsinki-NLP/opus-mt-en-zh

How to use it

Put a target tag in front of every English sentence you send, in the form of two angle brackets around an ID, written as >>id<<. The ID must be one of the thirteen the card lists, such as cmn_Hans, cmn_Hant, yue or wuu.

hf download Helsinki-NLP/opus-mt-en-zh
ToolWhat it does
>>id<<Sentence-start tag that chooses the Chinese variety to translate into
hf downloadFetches the model files to your computer

Example

Send the text ">>cmn_Hans<< How are you today?" to the model. It returns the sentence as Chinese text. If you swap the tag for another ID from the card, the output changes to that variety.

For newcomers and experts

If you are new, the one thing to remember is the tag at the start of each sentence. Without it the model does not know which Chinese to produce. A first small try is one short sentence with the cmn_Hans tag.

If you know the field, this is a one-direction transformer with SentencePiece at 32k and text normalization. It is not multilingual on the source side, which is English only. The card reports a BLEU of 31.4 and a chr-F of 0.268 on Tatoeba-test.eng.zho, with a brevity penalty near 0.9, so outputs run a little shorter than the references.

  1. English sentence
  2. Add the >>id<< target tag
  3. Normalize and split with SentencePiece
  4. Transformer translates
  5. Chinese text in the chosen variety

Good to know

  • Direction: English to Chinese only
  • Targets: thirteen Chinese variety IDs, including Mandarin, Cantonese and Wu
  • Required tag: every sentence needs the target tag at its start
  • Benchmark: BLEU 31.4 and chr-F 0.268 on Tatoeba-test.eng.zho
  • Other builds: other people have made 7 quantized and 35 fine-tuned versions
  • License: Apache 2.0
  • Cost to run: none named, the source lists no API key, account or paid service
  • Data it reaches: the text you pass in and the model files on your disk, and the source names no web or account access
  • Not for: other language pairs or translating without a target tag

README and files

README

opus-mt-en-zh

Translates English text into Chinese, covering Mandarin and several other Chinese varieties, with a compact transformer model you run yourself. For developers and teams who need local English to Chinese translation.

Made by Helsinki-NLP on Hugging Face. These notes are Mindket's, written from its model page and model card; the model's own files and license are on Hugging Face.

About

What it is: opus-mt-en-zh is an English to Chinese translation model from Helsinki-NLP, part of the OPUS machine translation work. It is a transformer trained on the Tatoeba Challenge data. One model covers many Chinese varieties, so you tell it which one you want with a short tag at the start of each sentence.

Who it suits: It suits developers and teams who want English to Chinese translation under their own control, and researchers who need a plain baseline to compare against.

Industry | Who uses it | How they use it | Example
Software localization | Product teams | Draft Chinese strings for an app from English text | Translating interface labels
Publishing | Editors | Get a rough Chinese version of English copy to review | A first pass on an article
Education | Language learners | Compare an English sentence with a Chinese rendering | Checking how a phrase is translated
Research | Machine translation researchers | Use a known baseline for English to Chinese | Comparing BLEU against a new model

Skip it if you need any other language pair, since this one only goes from English to Chinese.

Where to use it:

  • A Python script or notebook with the transformers library
  • Windows, macOS or Linux, running on your own machine
  • A backend service that translates English text into Chinese
Use case | Who | What they get back
Sentence translation | Developers | A Chinese version of each English sentence
Variety selection | Localization teams | Output in Mandarin or another listed Chinese variety, chosen by tag
Baseline testing | Researchers | A reference score to compare other systems against

How to set it up: You need these first.

  • Python with pip
  • The transformers library, which the model is listed for
  • A list of the target tags you plan to use, taken from the card
  1. Install the Hugging Face hub library with pip.
  2. Download the model files with the hf command.
  3. Load the model with the transformers library, following the model card.
pip install -U huggingface_hub
hf download Helsinki-NLP/opus-mt-en-zh

How to use it: Put a target tag in front of every English sentence you send, in the form of two angle brackets around an ID, written as >>id<<. The ID must be one of the thirteen the card lists, such as cmn_Hans, cmn_Hant, yue or wuu.

hf download Helsinki-NLP/opus-mt-en-zh
Tool | What it does
>>id<< | Sentence-start tag that chooses the Chinese variety to translate into
hf download | Fetches the model files to your computer

Example: Send the text ">>cmn_Hans<< How are you today?" to the model. It returns the sentence as Chinese text. If you swap the tag for another ID from the card, the output changes to that variety.

For newcomers and experts: If you are new, the one thing to remember is the tag at the start of each sentence. Without it the model does not know which Chinese to produce. A first small try is one short sentence with the cmn_Hans tag.

If you know the field, this is a one-direction transformer with SentencePiece at 32k and text normalization. It is not multilingual on the source side, which is English only. The card reports a BLEU of 31.4 and a chr-F of 0.268 on Tatoeba-test.eng.zho, with a brevity penalty near 0.9, so outputs run a little shorter than the references.

English sentence
Add the >>id<< target tag
Normalize and split with SentencePiece
Transformer translates
Chinese text in the chosen variety

Good to know:

  • Direction: English to Chinese only
  • Targets: thirteen Chinese variety IDs, including Mandarin, Cantonese and Wu
  • Required tag: every sentence needs the target tag at its start
  • Benchmark: BLEU 31.4 and chr-F 0.268 on Tatoeba-test.eng.zho
  • Other builds: other people have made 7 quantized and 35 fine-tuned versions
  • License: Apache 2.0
  • Cost to run: none named, the source lists no API key, account or paid service
  • Data it reaches: the text you pass in and the model files on your disk, and the source names no web or account access
  • Not for: other language pairs or translating without a target tag

On Hugging Face, 13 November 2026

  • Task: translation
  • Library: transformers
  • Downloads in the last 30 days: 69,966
  • Likes: 411
  • License: apache-2.0
  • Languages: en, zh
  • Quantized versions: 7
  • Fine-tunes: 35
  • Tags: transformers, pytorch, rust, marian, text2text-generation, translation

Links

Get the model

Download its files with Hugging Face's command line:

pip install -U huggingface_hub
hf download Helsinki-NLP/opus-mt-en-zh

Then follow the usage in its model card. Nothing in this kit runs by itself.

Files
README.md  5 KB

1 file, 5 KB, downloaded as a zip.

What’s new

  • Version 1 · 2026-11-13

Compare with similar

Listed Hugging Face models in the same category that share the most tags with this one.

ProductDownloads, last 30 daysLikesParametersLicenseLast change
opus-mt-en-zh This page69,966411—apache-2.0
SMaLL-100Shares pytorch · text2text-generation · translation10,902113333Mmit
t5-base-grammar-correctionShares pytorch · text2text-generation · transformers127,257187—cc-by-nc-sa-4.0
Hy-MT2-1.8BShares translation · transformers22,8441,2852Bapache-2.0
Index-Translate-2BShares translation1,891812.3Bapache-2.0
humanizer by jialinyyzzShares transformers391,9362,26012Bapache-2.0
Numbers as Mindket last read them, from 2026-11-12 to 2026-11-13.

Reviews

No ratings yet

Write a review

No reviews yet.

More from Mindket

See all from Mindket

Nanosaur2-670M

well9472 · Kit

Makes illustrations from text prompts with a small 670M-parameter diffusion model, run through ComfyUI. Built as a low-budget research model for people who wan…

New

Reads handwritten Arabic text from images and returns it as text. A fine-tuned PaddleOCR-VL model for people digitizing Arabic handwriting.

New

Makes video clips from a text prompt or an image plus text, at up to 720P and 24 frames per second, in the Diffusers format for a single consumer GPU.

New

Similar in Writing

See all in Writing

Rewrites English text with fewer grammar mistakes, using a T5 model trained on the JFLEG dataset. Made by vennify for writers, students and developers who want…

New

Translates between 33 languages on your own device with a 1.8B model squeezed to 1.25 bits, about 440 MB as GGUF files for llama.cpp. For developers adding off…

New

Summarizes, answers questions about and continues book-length text with a fine-tuned 27B model that uses Gated DeltaNet layers, in English and Japanese. For pe…

New