Instructions to use Mazhaluo/Hy-MT2-7B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Mazhaluo/Hy-MT2-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="Mazhaluo/Hy-MT2-7B")# Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("Mazhaluo/Hy-MT2-7B") model = AutoModelForMultimodalLM.from_pretrained("Mazhaluo/Hy-MT2-7B") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 4dbdf370eec3ca83222d7858d71818a3cb69d4a3079ba47fa7a3a4a594f2fb8e
- Size of remote file:
- 2.33 MB
- SHA256:
- 618b3db032d236d5b3cf47847a639f57bf6cc57becd9321ef1a9ea7722b2e1bf
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.