Instructions to use tencent/Hy-MT2-7B-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use tencent/Hy-MT2-7B-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tencent/Hy-MT2-7B-GGUF", filename="HY-MT2-7B-Q6_K.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use tencent/Hy-MT2-7B-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf tencent/Hy-MT2-7B-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf tencent/Hy-MT2-7B-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf tencent/Hy-MT2-7B-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf tencent/Hy-MT2-7B-GGUF:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf tencent/Hy-MT2-7B-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf tencent/Hy-MT2-7B-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf tencent/Hy-MT2-7B-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf tencent/Hy-MT2-7B-GGUF:Q4_K_M
Use Docker
docker model run hf.co/tencent/Hy-MT2-7B-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use tencent/Hy-MT2-7B-GGUF with Ollama:
ollama run hf.co/tencent/Hy-MT2-7B-GGUF:Q4_K_M
- Unsloth Studio new
How to use tencent/Hy-MT2-7B-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for tencent/Hy-MT2-7B-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for tencent/Hy-MT2-7B-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for tencent/Hy-MT2-7B-GGUF to start chatting
- Docker Model Runner
How to use tencent/Hy-MT2-7B-GGUF with Docker Model Runner:
docker model run hf.co/tencent/Hy-MT2-7B-GGUF:Q4_K_M
- Lemonade
How to use tencent/Hy-MT2-7B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tencent/Hy-MT2-7B-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Hy-MT2-7B-GGUF-Q4_K_M
List all available models
lemonade list
upload Hy-MT2 files
Browse files- README.md +2 -0
- README_CN.md +2 -0
README.md
CHANGED
|
@@ -32,6 +32,8 @@ In this release, we also open-source [IFMTBench](./IFMTBench/README.md), a bench
|
|
| 32 |
|
| 33 |
We also welcome everyone to use our released Hy-MT2-Translator Skill, which makes it easy to integrate Hy-MT2 series models for translation tasks. Download links: [ClawHub](https://clawhub.ai/tencent-adm/hy-mt2-translator-skill) and [SkillHub](https://skillhub.cn/skills/hy-mt2-translator).
|
| 34 |
|
|
|
|
|
|
|
| 35 |
## News
|
| 36 |
|
| 37 |
* 2026.5.21 We open-sourced **Hy-MT2-1.8B**/**Hy-MT2-7B**/**Hy-MT2-30B-A3B**/**IFMTBench** on HuggingFace and ModelScope.
|
|
|
|
| 32 |
|
| 33 |
We also welcome everyone to use our released Hy-MT2-Translator Skill, which makes it easy to integrate Hy-MT2 series models for translation tasks. Download links: [ClawHub](https://clawhub.ai/tencent-adm/hy-mt2-translator-skill) and [SkillHub](https://skillhub.cn/skills/hy-mt2-translator).
|
| 34 |
|
| 35 |
+
Now, Tencent Hy is officially partnering with WMT26 for the "Video Subtitle Translation Task" (https://www2.statmt.org/wmt26/video-subtitle-translation.html). Participants who use the Hy-MT model series to compete in the "General Machine Translation Task" (https://www2.statmt.org/wmt26/translation-task.html) and the "Video Subtitle Translation Task" will have the chance to win special awards sponsored by Hunyuan. We sincerely invite everyone to participate and jointly push the boundaries of machine translation technology!
|
| 36 |
+
|
| 37 |
## News
|
| 38 |
|
| 39 |
* 2026.5.21 We open-sourced **Hy-MT2-1.8B**/**Hy-MT2-7B**/**Hy-MT2-30B-A3B**/**IFMTBench** on HuggingFace and ModelScope.
|
README_CN.md
CHANGED
|
@@ -31,6 +31,8 @@ Hy-MT2 是一款面向真实复杂场景的“快思考”多语言翻译模型
|
|
| 31 |
|
| 32 |
也欢迎大家使用我们发布的 Hy-MT2-Translator Skill,可以方便接入Hy-MT2系列模型完成翻译任务,下载链接[ClawHub](https://clawhub.ai/tencent-adm/hy-mt2-translator-skill)和[SkillHub](https://skillhub.cn/skills/hy-mt2-translator)。
|
| 33 |
|
|
|
|
|
|
|
| 34 |
## 新闻
|
| 35 |
|
| 36 |
* 2026.5.21 我们在HuggingFace和ModelScope上开源了 **Hy-MT2-1.8B**/**Hy-MT2-7B**/**Hy-MT2-30B-A3B**/**IFMTBench**
|
|
|
|
| 31 |
|
| 32 |
也欢迎大家使用我们发布的 Hy-MT2-Translator Skill,可以方便接入Hy-MT2系列模型完成翻译任务,下载链接[ClawHub](https://clawhub.ai/tencent-adm/hy-mt2-translator-skill)和[SkillHub](https://skillhub.cn/skills/hy-mt2-translator)。
|
| 33 |
|
| 34 |
+
现在,腾讯混元也在与WMT26官方合作「视频字幕翻译比赛」(https://www2.statmt.org/wmt26/video-subtitle-translation.html ),使用Hy-MT系列模型参与「通用机器翻译比赛」(https://www2.statmt.org/wmt26/translation-task.html )和「视频字幕翻译比赛」有机会获得混元特设奖励,诚邀邀大家参与,共同推动机器翻译前沿技术发展。
|
| 35 |
+
|
| 36 |
## 新闻
|
| 37 |
|
| 38 |
* 2026.5.21 我们在HuggingFace和ModelScope上开源了 **Hy-MT2-1.8B**/**Hy-MT2-7B**/**Hy-MT2-30B-A3B**/**IFMTBench**
|