Hy‑MT2 1.8B
An open translation model from Tencent that turns English text into your reader's language. tencent/Hy-MT2-1.8B
- Accuracy
48.1
WMT24++, 1,488 segments, chrF++
- Time per request
Not timed one request at a time
- Serverless price
$1.13 in · $5.63 out
per 1M tokens
-
Translate 84% cheaper than Google Cloud Translation
48.1
Match with the human translation · 1,488 segments
See the comparison on Translation$3.15
Cost per 1M characters
Call it
from sie_sdk import SIEClientclient = SIEClient(api_key="API keysk-sie-…")text = "textStarting in Android 13, apps that you install need your permission to send notifications. Tap to change this permission for existing apps."result = client.generate( "modeltencent/Hy-MT2-1.8B", f"<|hy_begin▁of▁sentence|><|hy_User|>Translate the following text into Japanese. Note that you should only output the translated result without any additional explanation: {text}<|hy_Assistant|>", max_new_tokens=256, temperature=0,)print(result["text"])import { SIEClient } from '@superlinked/sie-sdk';
const client = new SIEClient(undefined, { apiKey: 'sk-sie-…' });
const text = "Starting in Android 13, apps that you install need your permission to send notifications. Tap to change this permission for existing apps.";
const result = await client.generate(
'tencent/Hy-MT2-1.8B',
`<|hy_begin▁of▁sentence|><|hy_User|>Translate the following text into Japanese. Note that you should only output the translated result without any additional explanation: ${text}<|hy_Assistant|>`,
{ maxNewTokens: 256, temperature: 0 },
);
console.log(result.text);curl https://api.superlinked.com/v1/generate/tencent__Hy-MT2-1.8B \
-H "Authorization: Bearer sk-sie-…" \
-H "Content-Type: application/json" \
-d "{\"prompt\":\"<|hy_begin▁of▁sentence|><|hy_User|>Translate the following text into Japanese. Note that you should only output the translated result without any additional explanation: Starting in Android 13, apps that you install need your permission to send notifications. Tap to change this permission for existing apps.<|hy_Assistant|>\",\"max_new_tokens\":256,\"temperature\":0}"Build the "Translation" capability into my app using the Superlinked Inference Engine (SIE).
Context
- SIE is an OpenAI-style inference API. Python SDK: `from sie_sdk import SIEClient`; TypeScript: `@superlinked/sie-sdk`.
- Base URL: https://api.superlinked.com (or my regional endpoint). Auth: Bearer key from env `SIE_API_KEY` (never hard-code it).
- Model: tencent/Hy-MT2-1.8B (SIE primitive: /generate). Keep the model id configurable.
Task
- Input: a block of English text plus the target locale.
- Behaviour: return the text translated into the selected target language
- Call the selected SIE primitive once per request and map the response into your domain type.
Deliverables
- A typed client wrapper, an application-level function for this task, error handling for timeouts/empty input, and unit tests with a stubbed client.
- Wire it into my existing stack (ask me which framework if unclear) and add a short usage example.Next to the other translation models
| Model | WMT24++, 1,488 segments, chrF++ | Time per request | Serverless price | Size |
|---|---|---|---|---|
| Hy-MT2 1.8B tencent | 48.1 | Not timed | $1.13 in · $5.63 out per 1M tokens | 2.0B |
| madlad400 3b mt google | 44.6 | Not timed | $0.999 in · $5.00 out per 1M tokens | 2.9B |
Facts
- Size
- 2.0B parameters
- License
- Apache-2.0
- Reads
- Text, up to 4,096 tokens
- Endpoint
-
generate
- Accuracy
- Run on SIE against the public dataset named in each figure
- Prices
- Serverless list prices
- Sources
- Task page runs and their inputs
Run Hy‑MT2 1.8B on Serverless or in your own cloud
SIE Serverless
We host the models; you call one API.
- No idle GPUs, pay for what you use
- Fits your stack: SDK, API, CLI, MCP
- Self-host the same open-source engine
- SOC 2 Type 2, US or EU data residency
- Create an account to try Serverless
SIE Cluster
Kubernetes in your own cloud, backed by our engineers.
- Terraform modules for your cloud
- Apache-2.0, same engine as Serverless
- GPU workers scale to zero between jobs
- Separate worker pools for each tenant
Deploy SIE to our AWS account with the superlinked/sie/aws Terraform module. Docs: superlinked.com/docs/deployment.Deploy SIE to our Google Cloud project with the superlinked/sie/google Terraform module. Docs: superlinked.com/docs/deployment.Deploy SIE to our Azure subscription with the superlinked/sie/azure Terraform module. Docs: superlinked.com/docs/deployment.Deploy SIE to our Alibaba Cloud account with the superlinked/sie/alicloud Terraform module. Docs: superlinked.com/docs/deployment. SIE Local
The open-source server on your own machine.
- NVIDIA GPU
- One container, no cluster
- Process your data fully offline
- Same SDK and model IDs as Serverless
docker run --gpus all -p 8080:8080 ghcr.io/superlinked/sie-server:latest-cuda12-sglang