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 special_tokens_map.json with huggingface_hub
Browse files- special_tokens_map.json +5 -0
special_tokens_map.json
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token": "<|hy_begin▁of▁sentence|>",
|
| 3 |
+
"eos_token": "<|hy_place▁holder▁no▁2|>",
|
| 4 |
+
"pad_token": "<|hy_▁pad▁|>"
|
| 5 |
+
}
|