Instructions to use IDEA-Research/grounding-dino-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use IDEA-Research/grounding-dino-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-object-detection", model="IDEA-Research/grounding-dino-base")# Load model directly from transformers import AutoProcessor, AutoModelForZeroShotObjectDetection processor = AutoProcessor.from_pretrained("IDEA-Research/grounding-dino-base") model = AutoModelForZeroShotObjectDetection.from_pretrained("IDEA-Research/grounding-dino-base") - Notebooks
- Google Colab
- Kaggle
FlashAttention-2 support
#7
by afaulconbridge - opened
Please add FlashAttention-2 support https://huggingface.co/docs/transformers/perf_infer_gpu_one#flashattention-2
Feel free to open an issue on Github