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
Update README.md (#1)
Browse files- Update README.md (c10a35aef8f5dd13685cc2631f91893b8b776e49)
Co-authored-by: woodchen <woodchen7@users.noreply.huggingface.co>
README.md
CHANGED
|
@@ -55,6 +55,7 @@ language:
|
|
| 55 |
|
| 56 |
<p align="center">
|
| 57 |
🖥️ <a href="https://hunyuan.tencent.com"><b>Official Website</b></a> |
|
|
|
|
| 58 |
<a href="https://github.com/Tencent-Hunyuan/HY-MT"><b>Github</b></a>
|
| 59 |
</p>
|
| 60 |
|
|
|
|
| 55 |
|
| 56 |
<p align="center">
|
| 57 |
🖥️ <a href="https://hunyuan.tencent.com"><b>Official Website</b></a> |
|
| 58 |
+
🪡 <a href="https://github.com/Tencent/AngelSlim/tree/main"><b>AngelSlim</b></a> |
|
| 59 |
<a href="https://github.com/Tencent-Hunyuan/HY-MT"><b>Github</b></a>
|
| 60 |
</p>
|
| 61 |
|