Instructions to use ofields/violet-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ofields/violet-v1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("object-detection", model="ofields/violet-v1")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForObjectDetection processor = AutoImageProcessor.from_pretrained("ofields/violet-v1") model = AutoModelForObjectDetection.from_pretrained("ofields/violet-v1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -87,13 +87,6 @@ Some cool model...
|
|
| 87 |
|
| 88 |
|
| 89 |
|
| 90 |
-
## Downstream Use [Optional]
|
| 91 |
-
|
| 92 |
-
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
| 93 |
-
<!-- If the user enters content, print that. If not, but they enter a task in the list, use that. If neither, say "more info needed." -->
|
| 94 |
-
|
| 95 |
-
|
| 96 |
-
|
| 97 |
|
| 98 |
## Out-of-Scope Use
|
| 99 |
|
|
@@ -245,4 +238,11 @@ Use the code below to get started with the model.
|
|
| 245 |
|
| 246 |
More information needed
|
| 247 |
|
| 248 |
-
</details>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 87 |
|
| 88 |
|
| 89 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 90 |
|
| 91 |
## Out-of-Scope Use
|
| 92 |
|
|
|
|
| 238 |
|
| 239 |
More information needed
|
| 240 |
|
| 241 |
+
</details>
|
| 242 |
+
|
| 243 |
+
|
| 244 |
+
widget:
|
| 245 |
+
- src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/football-match.jpg
|
| 246 |
+
example_title: Football Match
|
| 247 |
+
- src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/airport.jpg
|
| 248 |
+
example_title: Airport
|