Instructions to use tencent/Hunyuan-MT-7B-fp8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tencent/Hunyuan-MT-7B-fp8 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-fp8")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("tencent/Hunyuan-MT-7B-fp8") model = AutoModelForCausalLM.from_pretrained("tencent/Hunyuan-MT-7B-fp8", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 0fc8d4b3ae2e2be74601a2e5e3696d61fd0eee793be886aafbf9c21c79659662
- Size of remote file:
- 16.4 MB
- SHA256:
- 3c035189719caabdea82786d6c3cb10fe1e10bc5d0c6b66cc3cb5c02d9af54f0
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.