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