Update README.md
Browse files
README.md
CHANGED
|
@@ -77,6 +77,12 @@ Once a year, the [DCASE community](https://dcase.community/) publishes a [challe
|
|
| 77 |
|
| 78 |
The enrichments allow you to quickly gain insights into the dataset. The open source data curation tool Renumics Spotlight enables that with just a few lines of code:
|
| 79 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 80 |
Load the dataset from huggingface in your notebook:
|
| 81 |
```jupyterpython
|
| 82 |
import datasets
|
|
@@ -84,11 +90,6 @@ import datasets
|
|
| 84 |
dataset = datasets.load_dataset("renumics/dcase23-task2-enriched", "dev", split="all", streaming=False)
|
| 85 |
```
|
| 86 |
|
| 87 |
-
Install soundfile and Spotlight via [pip](https://packaging.python.org/en/latest/key_projects/#pip):
|
| 88 |
-
```jupyterpython
|
| 89 |
-
!pip install renumics-spotlight soundfile
|
| 90 |
-
```
|
| 91 |
-
|
| 92 |
Start exploring with a simple view that leverages embeddings to identify relevant data segments:
|
| 93 |
```jupyterpython
|
| 94 |
from renumics import spotlight
|
|
|
|
| 77 |
|
| 78 |
The enrichments allow you to quickly gain insights into the dataset. The open source data curation tool Renumics Spotlight enables that with just a few lines of code:
|
| 79 |
|
| 80 |
+
Install datasets and Spotlight via [pip](https://packaging.python.org/en/latest/key_projects/#pip):
|
| 81 |
+
```jupyterpython
|
| 82 |
+
!pip install renumics-spotlight datasets[audio]
|
| 83 |
+
```
|
| 84 |
+
> **_Notice:_** On Linux, non-Python dependency on libsndfile package must be installed manually. See [Datasets Docs](https://huggingface.co/docs/datasets/installation#audio) for more information.
|
| 85 |
+
|
| 86 |
Load the dataset from huggingface in your notebook:
|
| 87 |
```jupyterpython
|
| 88 |
import datasets
|
|
|
|
| 90 |
dataset = datasets.load_dataset("renumics/dcase23-task2-enriched", "dev", split="all", streaming=False)
|
| 91 |
```
|
| 92 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 93 |
Start exploring with a simple view that leverages embeddings to identify relevant data segments:
|
| 94 |
```jupyterpython
|
| 95 |
from renumics import spotlight
|