Instructions to use harness-race/control-r1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use harness-race/control-r1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("object-detection", model="harness-race/control-r1")# Load model directly from transformers import AutoImageProcessor, AutoModelForObjectDetection processor = AutoImageProcessor.from_pretrained("harness-race/control-r1") model = AutoModelForObjectDetection.from_pretrained("harness-race/control-r1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Ctrl+K
davanstrien HF Staff
Fine-tune DETR (ResNet-50) on biglam/loc_beyond_words (control-r1)
297042f verified