Instructions to use sheldonrobinson/siglip-large-patch16-384 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use sheldonrobinson/siglip-large-patch16-384 with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('zero-shot-image-classification', 'sheldonrobinson/siglip-large-patch16-384');
| { | |
| "_name_or_path": "google/siglip-large-patch16-384", | |
| "architectures": [ | |
| "SiglipModel" | |
| ], | |
| "initializer_factor": 1.0, | |
| "model_type": "siglip", | |
| "text_config": { | |
| "hidden_size": 1024, | |
| "intermediate_size": 4096, | |
| "model_type": "siglip_text_model", | |
| "num_attention_heads": 16, | |
| "num_hidden_layers": 24 | |
| }, | |
| "transformers_version": "4.37.0.dev0", | |
| "vision_config": { | |
| "hidden_size": 1024, | |
| "image_size": 384, | |
| "intermediate_size": 4096, | |
| "model_type": "siglip_vision_model", | |
| "num_attention_heads": 16, | |
| "num_hidden_layers": 24 | |
| } | |
| } | |