
Hy-MT2-1.8B
机器翻译
W4A16

Hy-MT2-1.8B
Hy-MT2 是一系列专为复杂现实场景设计的“快速思考”多语言翻译模型。该系列包含三种模型尺寸:1.8B、7B 和 30B-A3B (MoE),均支持 33 种语言之间的互译,并能有效遵循多种语言的翻译指令。
针对端侧部署需求,采用 AngelSlim 1.25-bit 极限量化技术后,1.8B 模型的存储需求大幅缩减至仅 440 MB,同时推理速度提升了 1.5 倍。
多维度评估表明,Hy-MT2 在通用领域、真实业务场景、特定领域以及指令遵循等翻译任务中均表现出卓越的性能。在快速思考模式下,其 7B 和 30B-A3B 模型超越了 DeepSeek-V4-Pro 和 Kimi K2.6 等开源模型;而轻量级的 1.8B 模型在整体表现上也超越了微软、豆包等主流商业 API。
模型资源获取
Model Farm 提供预编译好的模型资源以及推理代码,支持以下两种方式获取:
通过 Model Farm 页面获取:在右侧性能参考板块中点击模型 & 代码获取模型资源及代码包。
通过命令获取(推荐):持有阿加犀开发板的用户,可以通过开发板内置的 MMS 工具获取模型资源及代码包。
# 模型查询
mms list [model name]
# 模型资源获取
mms get -m [model name] -p [precision] -c [soc] -b [backend] -d [file path]
MMS 具体使用请参考:MMS 使用 & 提前获取预览版块模型
模型详情
注意:在以下示例中,source_lang 和 target_lang 均应使用完整的语言名称。中文提示词中应使用中文语言名称,英文提示词中应使用英文语言名称。
| 类型 | 中文提示词 | 英文提示词 |
|---|---|---|
| 默认翻译 | 将以下文本翻译为 {target_lang},注意只需要输出翻译后的结果,不要额外解释:{source_text} |
Translate the following text into {target_lang}. Note that you should only output the translated result without any additional explanation:{source_text} |
| 术语 | 参考下面的翻译:{text} 翻译成 {text}{text} 翻译成 {text}{text} 翻译成 {text}将以下文本翻译为 {target_lang},注意只需要输出翻译后的结果,不要额外解释:{source_text} |
Reference the following translations:{text} translates to {text}{text} translates to {text}{text} translates to {text}Translate the following text into {target_lang}. Note that you must ONLY output the translated result without any additional explanation:{source_text} |
| 风格 | 请将以下文本翻译为 {target_lang}。注意翻译的风格要严格符合【 {target_style}】{source_text} |
Please translate the following text into {target_lang}. Note that the translation style must strictly conform to [{target_style}]:{source_text} |
| 个性化 | 【待翻译文本】{source_text}【翻译任务】 1、 {user_preferences}2、 {user_preferences}3、…… 4、将【待翻译文本】翻译为 {target_lang}。 |
[Source Text]{source_text}[Translation Tasks] 1. {user_preferences}2. {user_preferences}3. ... 4. Translate the [Source Text] into {target_lang}. |
| 分隔符 | 请将以下文本准确翻译为 {target_lang}。你必须在译文中保留等量的分隔符,绝对不可遗漏、转义或翻译该符号,并注意分隔符的位置。 {source_text} |
Please accurately translate the following text into {target_lang}.You must retain the exact same number of delimiters in the translation. Strictly do not omit, escape, or translate these symbols, and pay close attention to their placement. {source_text} |
| 结构化数据 1 | # 任务目标 将下方 {source_text} 中的 {format_type} 格式数据翻译为 {target_lang}。# 严格约束 1. 结构锁定:绝对保持原有的 {format_type} 数据结构、缩进和层级完全不变。2. 选择性翻译:仅翻译面向用户展示的可见文本内容。 3. 禁止修改:严禁翻译或更改任何代码标签、键名 (Key)、变量占位符(如 {{var}}、${var}、%s、%d 等)或代码属性。# 数据输入 {source_text} |
### Task Translate the user-facing text within the following {format_type} data into {target_lang}.### Strict Rules 1. Structure Preservation: You MUST preserve the original {format_type} data structure, nesting, hierarchy, and indentation exactly as they are.2. Selective Translation: Translate ONLY the visible, user-facing text content/values. 3. Strict Non-Translation: NEVER translate or alter code tags, keys, properties, object names, or variable placeholders. Leave them exactly in their original English/code form. ### Source Data {source_text} |
| 结构化数据 2 | 【背景信息】{background_text}请结合背景信息将以下文本翻译为 {target_lang}。【待翻译文本】 {source_text} |
[Background Information]{background_text}Please translate the following text into {target_lang}, taking the provided background information into consideration.[Source Text] {source_text} |
模型推理
请参考顶部模型推理标签选择合适的推理 SDK。
推荐使用 AidGen & AidGenSE 推理
