Instructions to use immanuelpeter/Hy4-Vision with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use immanuelpeter/Hy4-Vision with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-feature-extraction", model="immanuelpeter/Hy4-Vision", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("immanuelpeter/Hy4-Vision", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from immanuelpeter/Hy4-Vision: direct link, hf CLI and curl.
- Browser
- Download file 460 Bytes
-
https://huggingface.co/immanuelpeter/Hy4-Vision/resolve/main/config.json
- Command line
-
hf download hf://immanuelpeter/Hy4-Vision/config.json
-
curl -L -o config.json https://huggingface.co/immanuelpeter/Hy4-Vision/resolve/main/config.json
460 Bytes
| { | |
| "architectures": [ | |
| "Hy4VisionModel" | |
| ], | |
| "auto_map": { | |
| "AutoConfig": "modeling_hy4.Hy4VisionConfig", | |
| "AutoModel": "modeling_hy4.Hy4VisionModel" | |
| }, | |
| "dtype": "bfloat16", | |
| "hidden_size": 1536, | |
| "intermediate_size": 6144, | |
| "max_image_size": 2048, | |
| "model_type": "vtb_hy4", | |
| "num_attention_heads": 16, | |
| "num_hidden_layers": 40, | |
| "out_hidden_size": 6144, | |
| "patch_size": 16, | |
| "rms_norm_eps": 1e-05, | |
| "transformers_version": "5.17.0" | |
| } | |