Image Feature Extraction
Transformers
Safetensors
hy4_flash_vision
feature-extraction
vision
siglip2
custom_code
Instructions to use immanuelpeter/Hy4-Flash-Vision with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use immanuelpeter/Hy4-Flash-Vision with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-feature-extraction", model="immanuelpeter/Hy4-Flash-Vision", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("immanuelpeter/Hy4-Flash-Vision", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from immanuelpeter/Hy4-Flash-Vision: direct link, hf CLI and curl.
- Browser
- Download file 609 Bytes
-
https://huggingface.co/immanuelpeter/Hy4-Flash-Vision/resolve/main/config.json
- Command line
-
hf download hf://immanuelpeter/Hy4-Flash-Vision/config.json
-
curl -L -o config.json https://huggingface.co/immanuelpeter/Hy4-Flash-Vision/resolve/main/config.json
609 Bytes
| { | |
| "architectures": [ | |
| "Hy4FlashVisionModel" | |
| ], | |
| "auto_map": { | |
| "AutoConfig": "modeling_hy4_flash_vision.Hy4FlashVisionConfig", | |
| "AutoModel": "modeling_hy4_flash_vision.Hy4FlashVisionModel" | |
| }, | |
| "dtype": "bfloat16", | |
| "hidden_act": "gelu", | |
| "hidden_size": 1152, | |
| "intermediate_size": 4304, | |
| "layer_norm_eps": 1e-05, | |
| "max_image_size": 2048, | |
| "model_type": "hy4_flash_vision", | |
| "num_attention_heads": 16, | |
| "num_channels": 3, | |
| "num_hidden_layers": 27, | |
| "out_hidden_size": 3072, | |
| "patch_size": 16, | |
| "rms_norm_eps": 1e-05, | |
| "spatial_merge_size": 2, | |
| "transformers_version": "5.17.0" | |
| } | |