Instructions to use tencent/Hunyuan-MT-7B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tencent/Hunyuan-MT-7B 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/Hunyuan-MT-7B")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("tencent/Hunyuan-MT-7B") model = AutoModelForCausalLM.from_pretrained("tencent/Hunyuan-MT-7B") - Notebooks
- Google Colab
- Kaggle
License info missing on this page
#2
by Ray9821 - opened
It would be great if can be referenced. Thanks
In our repository, there is already a "License.txt" file. What do you mean by the license info is missing? Additionally, we have updated the citation information. You can cite Hunyuan-MT as follows:
@misc {hunyuanmt2025,
title={Hunyuan-MT Technical Report},
author={Mao Zheng, Zheng Li, Bingxin Qu, Mingyang Song, Yang Du, Mingrui Sun, Di Wang, Tao Chen, Jiaqi Zhu, Xingwu Sun, Yufei Wang, Can Xu, Chen Li, Kai Wang, Decheng Wu},
howpublished={\url{https://github.com/Tencent-Hunyuan/Hunyuan-MT}},
year={2025}
}
Ok that was the reference info I was looking for. Thanks!
Ray9821 changed discussion status to closed