How to Use Hy-MT2-1.8B in Muse Code
Hy-MT2-1.8B translates text with instructions for terminology, tone, and formatting. It uses 1.8 billion parameters compared with 7 billion in Hy-MT2-7B, but scores lower on Tencent's complex translation instruction tests.
Prompts to try with Hy-MT2-1.8B in Muse Code
Copy an example into Muse Code, or ask in your own words.
Use Hy-MT2-1.8B to translate the project's English interface strings into German. Translate visible values only, preserve keys and interpolation placeholders, and check that the resulting JSON parses.
Use Hy-MT2-1.8B to translate the README introduction into Japanese. Protect commands, URLs, and code blocks, and show the proposed documentation diff.
Use Hy-MT2-1.8B to translate the checkout page's visible HTML text into French. Preserve tags and attributes, then check that the markup structure matches the original.
Use Hy-MT2-1.8B to translate the latest release notes into Spanish in a formal style. Preserve version numbers and code identifiers, and return the proposed translated section.
Use Hy-MT2-1.8B to translate one help article into Chinese. Read the project's terminology guide first, supply the relevant approved translations, and process the article section by section.
How to set up Hy-MT2-1.8B in Muse Code
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Install Muse Code
curl -fsSL https://dev.meta.ai/install.sh | bash
- Ask Muse to add the server
Start muse and ask:
Add the Spiral MCP server at https://api.spiral.ai/mcp
- Sign in
In your terminal, run:
muse mcp login spiral
Use the Spiral skill
- Send Muse Code this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run Hy-MT2-1.8B
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "openrouter", "model": "tencent/hy-mt2-1.8b", "input": { "messages": [ { "role": "system" } ] } }'
Then paste one of the prompts above: Muse Code finds Hy-MT2-1.8B on Spiral, shows the price and runs it.
Hy-MT2-1.8B providers and prices
Spiral runs Hy-MT2-1.8B through OpenRouter. Open a card for today's price, with every fee included.
Up to $0.000946 per run at the default inputs. $0.0572 per 1M input tokens, $0.2301 per 1M output tokens.
Settings you can ask for
Ask Muse Code for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Max tokens | 1 to 4096 | The most output tokens to generate. | |
| Temperature | 0 to 2 |
Every API field of Tencent: Hy-MT2-1.8B is on its tool page: open its card above.
What can you do with Hy-MT2-1.8B in Muse Code?
Translate application copy and documentation directly from the project with Hy-MT2. Have the coding agent extract the text, protect code and identifiers, and validate the translated result.
Localize interface strings
Translate visible JSON values while protecting keys, nesting, and interpolation placeholders. Validate the translated data before adding it to an application.
Translate support replies
Prepare replies in the customer's language with an explicit tone instruction and approved translations for product terms.
Translate product descriptions
Translate catalog copy with a supplied glossary. Identify brand names and product identifiers that must remain unchanged.
Localize website text
Translate visible HTML text while asking for tags and attributes to remain intact. Check the resulting markup before publication.
Translate technical documentation
Work through documentation section by section, supplying approved technical terms and protecting code examples.
Translate meeting excerpts
Supply a short description of the discussion before translating an excerpt, so ambiguous words have context.
Adapt announcement tone
Translate announcements with a stated style, such as formal business language or friendly customer communication.
More on Hy-MT2-1.8B and Muse Code
Overview
Hy-MT2-1.8B in other agents
More Muse Code guides
Questions about Hy-MT2-1.8B in Muse Code
Can Muse Code use Hy-MT2-1.8B?
Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run Hy-MT2-1.8B like any built-in tool.
How much does Hy-MT2-1.8B cost in Muse Code?
Up to $0.000946 per run at the default inputs. $0.0572 per 1M input tokens, $0.2301 per 1M output tokens. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Muse Code plan is separate.
Do I need an OpenRouter account to use Hy-MT2-1.8B in Muse Code?
No. Spiral runs Hy-MT2-1.8B on its own OpenRouter account. You sign in to Spiral once and never paste a key.
How long does it take to set up Hy-MT2-1.8B in Muse Code?
About two minutes: install Muse Code, then ask Muse to add the server, then sign in.
Does Muse Code wait while Hy-MT2-1.8B runs?
Hy-MT2-1.8B runs in the background. Muse Code starts the run, checks on it and gives you the text, json when it's ready.
What is Hy-MT2 best used for?
Use Hy-MT2 for translation with specific terminology, tone, or formatting requirements. Useful tasks include product text, support replies, documentation, and structured localization content.
Which languages does Hy-MT2 support?
Tencent reports translation among 33 languages, including English, Chinese, French, Spanish, Japanese, and German. Write language names in full in your instructions.
How do I keep technical terms consistent?
Put a short glossary of source terms and approved translations before the text. Explicitly identify product names or terms that should stay unchanged.
Can Hy-MT2 preserve JSON and HTML during translation?
Tencent provides prompts for translating visible text while preserving structure, keys, tags, and placeholders. Request those protections explicitly, then validate the result before using it.
How should I handle long documents and generation settings?
Tencent documents an 8,192-token context and recommends temperature 0.7 with a 4,096-token output budget for Hy-MT2-1.8B. Translate long documents section by section, leaving room for instructions, context, and the translation.
Start using Hy-MT2-1.8B in Muse Code
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Muse Code:
set up https://spiral.ai/SKILL.md


