Instructions to use Xenova/siglip-base-patch16-512 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use Xenova/siglip-base-patch16-512 with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('zero-shot-image-classification', 'Xenova/siglip-base-patch16-512');
Download special_tokens_map.json from Xenova/siglip-base-patch16-512: direct link, hf CLI and curl.
- Browser
- Download file 409 Bytes
-
https://huggingface.co/Xenova/siglip-base-patch16-512/resolve/main/special_tokens_map.json
- Command line
-
hf download hf://Xenova/siglip-base-patch16-512/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/Xenova/siglip-base-patch16-512/resolve/main/special_tokens_map.json
409 Bytes
| { | |
| "eos_token": { | |
| "content": "</s>", | |
| "lstrip": true, | |
| "normalized": false, | |
| "rstrip": true, | |
| "single_word": false | |
| }, | |
| "pad_token": { | |
| "content": "</s>", | |
| "lstrip": true, | |
| "normalized": false, | |
| "rstrip": true, | |
| "single_word": false | |
| }, | |
| "unk_token": { | |
| "content": "<unk>", | |
| "lstrip": true, | |
| "normalized": false, | |
| "rstrip": true, | |
| "single_word": false | |
| } | |
| } | |