Instructions to use tencent/Hunyuan-4B-Instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tencent/Hunyuan-4B-Instruct with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("tencent/Hunyuan-4B-Instruct", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Upload requirements.txt with huggingface_hub
Browse files- requirements.txt +3 -0
requirements.txt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
transformers==4.41.2
|
| 2 |
+
accelerate==0.33.0
|
| 3 |
+
flash_attn==2.0.2
|