Instructions to use FriendliAI/Keye-VL-8B-Preview with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use FriendliAI/Keye-VL-8B-Preview with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("FriendliAI/Keye-VL-8B-Preview", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download preprocessor_config.json from FriendliAI/Keye-VL-8B-Preview: direct link, hf CLI and curl.
- Browser
- Download file 380 Bytes
-
https://huggingface.co/FriendliAI/Keye-VL-8B-Preview/resolve/main/preprocessor_config.json
- Command line
-
hf download hf://FriendliAI/Keye-VL-8B-Preview/preprocessor_config.json
-
curl -L -o preprocessor_config.json https://huggingface.co/FriendliAI/Keye-VL-8B-Preview/resolve/main/preprocessor_config.json
380 Bytes
| { | |
| "min_pixels": 102400, | |
| "max_pixels": 1003520, | |
| "patch_size": 14, | |
| "temporal_patch_size": 1, | |
| "merge_size": 2, | |
| "image_mean": [ | |
| 0.5,0.5,0.5 | |
| ], | |
| "image_std": [ | |
| 0.5,0.5,0.5 | |
| ], | |
| "processor_class": "KeyeProcessor", | |
| "auto_map": { | |
| "AutoProcessor": "processing_keye.KeyeProcessor", | |
| "AutoImageProcessor": "image_processing_keye.SiglipImageProcessor" | |
| } | |
| } | |