Instructions to use RISys-Lab/ReasonSigLIP2-So14-384-S1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use RISys-Lab/ReasonSigLIP2-So14-384-S1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-image-classification", model="RISys-Lab/ReasonSigLIP2-So14-384-S1") pipe( "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png", candidate_labels=["animals", "humans", "landscape"], )# Load model directly from transformers import AutoProcessor, AutoModelForZeroShotImageClassification processor = AutoProcessor.from_pretrained("RISys-Lab/ReasonSigLIP2-So14-384-S1") model = AutoModelForZeroShotImageClassification.from_pretrained("RISys-Lab/ReasonSigLIP2-So14-384-S1") - Notebooks
- Google Colab
- Kaggle
| { | |
| "backend": "tokenizers", | |
| "bos_token": "<bos>", | |
| "clean_up_tokenization_spaces": false, | |
| "do_lower_case": true, | |
| "eos_token": "<eos>", | |
| "is_local": false, | |
| "max_length": 64, | |
| "model_input_names": [ | |
| "input_ids" | |
| ], | |
| "model_max_length": 1000000000000000019884624838656, | |
| "pad_to_multiple_of": null, | |
| "pad_token": "<pad>", | |
| "pad_token_type_id": 0, | |
| "padding_side": "right", | |
| "processor_class": "SiglipProcessor", | |
| "sp_model_kwargs": {}, | |
| "spaces_between_special_tokens": false, | |
| "tokenizer_class": "TokenizersBackend", | |
| "unk_token": "<unk>", | |
| "use_default_system_prompt": false | |
| } | |