Instructions to use immanuelpeter/MoonViT-K2.6 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use immanuelpeter/MoonViT-K2.6 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-feature-extraction", model="immanuelpeter/MoonViT-K2.6", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("immanuelpeter/MoonViT-K2.6", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download preprocessor_config.json from immanuelpeter/MoonViT-K2.6: direct link, hf CLI and curl.
- Browser
- Download file 683 Bytes
-
https://huggingface.co/immanuelpeter/MoonViT-K2.6/resolve/main/preprocessor_config.json
- Command line
-
hf download hf://immanuelpeter/MoonViT-K2.6/preprocessor_config.json
-
curl -L -o preprocessor_config.json https://huggingface.co/immanuelpeter/MoonViT-K2.6/resolve/main/preprocessor_config.json
683 Bytes
| { | |
| "auto_map": { | |
| "AutoImageProcessor": "kimi_k25_vision_processing.KimiK25VisionProcessor" | |
| }, | |
| "media_proc_cfg": { | |
| "in_patch_limit": 16384, | |
| "patch_size": 14, | |
| "image_mean": [ | |
| 0.5, | |
| 0.5, | |
| 0.5 | |
| ], | |
| "image_std": [ | |
| 0.5, | |
| 0.5, | |
| 0.5 | |
| ], | |
| "merge_kernel_size": 2, | |
| "fixed_output_tokens": null, | |
| "patch_limit_on_one_side": 512, | |
| "in_patch_limit_each_frame": 4096, | |
| "in_patch_limit_video": null, | |
| "sample_fps": 2.0, | |
| "max_num_frames_each_video": null, | |
| "temporal_merge_kernel_size": 4, | |
| "timestamp_mode": "hh:mm:ss.fff", | |
| "config_type": "media_proc.processors.moonvit.MoonViTMediaProcessorConfig" | |
| } | |
| } | |