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
File size: 671 Bytes
204c1fe 3cd67e8 204c1fe 3cd67e8 204c1fe 3cd67e8 204c1fe | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | {
"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"
}
|