Instructions to use dyd0104/week2_zero_shot_object-detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dyd0104/week2_zero_shot_object-detection with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-object-detection", model="dyd0104/week2_zero_shot_object-detection")# Load model directly from transformers import AutoProcessor, AutoModelForZeroShotObjectDetection processor = AutoProcessor.from_pretrained("dyd0104/week2_zero_shot_object-detection") model = AutoModelForZeroShotObjectDetection.from_pretrained("dyd0104/week2_zero_shot_object-detection") - Notebooks
- Google Colab
- Kaggle
| { | |
| "add_prefix_space": false, | |
| "backend": "tokenizers", | |
| "bos_token": "<|startoftext|>", | |
| "do_lower_case": true, | |
| "eos_token": "<|endoftext|>", | |
| "errors": "replace", | |
| "is_local": false, | |
| "model_max_length": 16, | |
| "pad_token": "!", | |
| "processor_class": "OwlViTProcessor", | |
| "tokenizer_class": "CLIPTokenizer", | |
| "unk_token": "<|endoftext|>" | |
| } | |