Image Feature Extraction
Transformers
Safetensors
pixtral_large4_vision
feature-extraction
vision
custom_code
Instructions to use immanuelpeter/PixtralViT-Large-4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use immanuelpeter/PixtralViT-Large-4 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-feature-extraction", model="immanuelpeter/PixtralViT-Large-4", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("immanuelpeter/PixtralViT-Large-4", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Ship the parent-order forward (modeling_pixtral_large4.py) and correct the card; weights unchanged (vision-tower-bench 5139e1a)
3cd67e8 verified Download config.json from immanuelpeter/PixtralViT-Large-4: direct link, hf CLI and curl.
- Browser
- Download file 671 Bytes
-
https://huggingface.co/immanuelpeter/PixtralViT-Large-4/resolve/main/config.json
- Command line
-
hf download hf://immanuelpeter/PixtralViT-Large-4/config.json
-
curl -L -o config.json https://huggingface.co/immanuelpeter/PixtralViT-Large-4/resolve/main/config.json
671 Bytes
| { | |
| "architectures": [ | |
| "PixtralLarge4VisionModel" | |
| ], | |
| "attention_dropout": 0.0, | |
| "auto_map": { | |
| "AutoConfig": "modeling_pixtral_large4.PixtralLarge4VisionConfig", | |
| "AutoModel": "modeling_pixtral_large4.PixtralLarge4VisionModel" | |
| }, | |
| "dtype": "bfloat16", | |
| "head_dim": 128, | |
| "hidden_act": "silu", | |
| "hidden_size": 2048, | |
| "image_size": 1540, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 6144, | |
| "model_type": "pixtral_large4_vision", | |
| "num_attention_heads": 16, | |
| "num_channels": 3, | |
| "num_hidden_layers": 30, | |
| "patch_size": 14, | |
| "rope_parameters": { | |
| "rope_theta": 10000.0, | |
| "rope_type": "axial" | |
| }, | |
| "transformers_version": "5.17.0" | |
| } | |