Instructions to use tencent/Hunyuan-MT-Chimera-7B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tencent/Hunyuan-MT-Chimera-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-Chimera-7B")# Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("tencent/Hunyuan-MT-Chimera-7B") model = AutoModelForMultimodalLM.from_pretrained("tencent/Hunyuan-MT-Chimera-7B") - Notebooks
- Google Colab
- Kaggle
File size: 135 Bytes
32bb559 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:2b52fe767c0a60a2c015d454497f2ef4780dabd2a9e8ffb6018671b3b2ef92d9
size 5352150176
|