Add FiftyOne loading instructions to README
#4
by Burhan-Q - opened
README.md
CHANGED
|
@@ -77,6 +77,20 @@ Each sample contains the following fields
|
|
| 77 |
- `category`: Meta-data about the question task. One of `activity`, `attributes`, `counting`, `ocr`, `reasoning`, or `scene`.
|
| 78 |
- `default_prompt`: You can use this prompt to stay compliant with our results. It is a simple combination of the question and answers, with some additional output format constraints. This should work well for most models.
|
| 79 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 80 |
## 🎯 Evaluate your model
|
| 81 |
|
| 82 |
Please see [GitHub](https://github.com/paulgavrikov/visualoverload/) for an example evaluation script that generates a correct submission JSON.
|
|
|
|
| 77 |
- `category`: Meta-data about the question task. One of `activity`, `attributes`, `counting`, `ocr`, `reasoning`, or `scene`.
|
| 78 |
- `default_prompt`: You can use this prompt to stay compliant with our results. It is a simple combination of the question and answers, with some additional output format constraints. This should work well for most models.
|
| 79 |
|
| 80 |
+
### 🔦 Load with FiftyOne
|
| 81 |
+
|
| 82 |
+
VisualOverload is also available in [FiftyOne](https://github.com/voxel51/fiftyone), an open-source tool for visualizing, exploring, and curating visual datasets. You can load it directly from the Hugging Face Hub and inspect every painting and question interactively in the FiftyOne App:
|
| 83 |
+
|
| 84 |
+
```python
|
| 85 |
+
import fiftyone as fo
|
| 86 |
+
from fiftyone.utils.huggingface import load_from_hub
|
| 87 |
+
|
| 88 |
+
dataset = load_from_hub("Voxel51/VisualOverload")
|
| 89 |
+
session = fo.launch_app(dataset)
|
| 90 |
+
```
|
| 91 |
+
|
| 92 |
+
See the [FiftyOne dataset documentation](https://docs.voxel51.com/dataset_zoo/datasets_hf/visualoverload.html) for the full field/tag schema and usage details.
|
| 93 |
+
|
| 94 |
## 🎯 Evaluate your model
|
| 95 |
|
| 96 |
Please see [GitHub](https://github.com/paulgavrikov/visualoverload/) for an example evaluation script that generates a correct submission JSON.
|