Instructions to use Kling-Keye/Keye-VL-8B-Preview with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Kling-Keye/Keye-VL-8B-Preview with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Kling-Keye/Keye-VL-8B-Preview", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download special_tokens_map.json from Kling-Keye/Keye-VL-8B-Preview: direct link, hf CLI and curl.
- Browser
- Download file 477 Bytes
-
https://huggingface.co/Kling-Keye/Keye-VL-8B-Preview/resolve/main/special_tokens_map.json
- Command line
-
hf download hf://Kling-Keye/Keye-VL-8B-Preview/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/Kling-Keye/Keye-VL-8B-Preview/resolve/main/special_tokens_map.json
477 Bytes
| { | |
| "additional_special_tokens": [ | |
| "<|im_start|>", | |
| "<|im_end|>", | |
| "<|vision_start|>", | |
| "<|vision_end|>", | |
| "<|vision_pad|>", | |
| "<|image_pad|>", | |
| "<|video_pad|>" | |
| ], | |
| "eos_token": { | |
| "content": "<|im_end|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "pad_token": { | |
| "content": "<|endoftext|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| } | |
| } | |