Instructions to use tencent/Hy-MT2-30B-A3B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tencent/Hy-MT2-30B-A3B with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "translation" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("translation", model="tencent/Hy-MT2-30B-A3B")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("tencent/Hy-MT2-30B-A3B") model = AutoModelForCausalLM.from_pretrained("tencent/Hy-MT2-30B-A3B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Purpose of this model?
I don't understand what is the purpose of this model. Normal multilingual text generation model like gemma3 27b can translate into 100 languages. That too very good with proper prompting.
Also this model fails in practical translation. I tried translating english to hinglish ( spoken hindi + english in india ). The results are worse than llama 3.1 8b.
China model is my guess.
Hi, thank you for your feedback, and hinglish is not in our supported language list. We evaluate that Hy-MT2-30B-A3B outperforms Gemma4-31B across all 33 languages we support. Detailed metrics can be found in our report: https://arxiv.org/pdf/2605.22064
I don't understand what is the purpose of this model. Normal multilingual text generation model like gemma3 27b can translate into 100 languages. That too very good with proper prompting.
Also this model fails in practical translation. I tried translating english to hinglish ( spoken hindi + english in india ). The results are worse than llama 3.1 8b.
If you have tested the HY-MT series of models, you might have noticed that they are closer to NMT(Neural Machine Translation) than to broad-spectrum models like MIstral or Gemma, which, as you rightly pointed out, are well-managed by prompting. HY-MT, as well as other highly specialized models like TranslateGemma, may exhibit better performance in terms of speed, but not the best quality in terms of context. In fact, these models translate sentences like pure NMT. Even the tencent/Hunyuan-MT-Chimera-7B arbitrator model focuses on comparing sentences taken out of context.
Language translation can be considered a high-level task. It is significantly more difficult to formalize than programming. Therefore, models that perform well in translation often have stronger intelligence in other areas as well.