Readme update with DCAI intro
Browse filesFiles changed (2)
- README.md+53-13
- data/spotlight_save_layout.pngAdded
57 unmodified lines58596061626364656667686970717273747576777879808182838485868788899057 unmodified lines### Dataset SummaryThis dataset ...[//]: # (todo: verantwortlichkeit/attribution)### Explore DCASE23 Task 2 with SpotlightInstall Spotlight via [pip](https://packaging.python.org/en/latest/key_projects/#pip)```bashpip install renumics-spotlight```and simply run the following codeblock:```jupyterpythonfrom datasets import load_dataset, load_dataset_builderfrom renumics import spotlightdataset = load_dataset("renumics/dcase23-task2-enriched", "dev", split="all", streaming=False)ds_builder = load_dataset_builder("renumics/dcase23-task2-enriched", "dev")df = ds_builder.config.to_spotlight(dataset)spotlight.show(df, dtype={'audio': spotlight.Audio, "ast-finetuned-audioset-10-10-0.4593-embeddings": spotlight.Embedding}, layout=ds_builder.config.get_layout(config="standard"))```[//]: # (todo: how2 -> dataset -> spotlight)[//]: # (todo: spotlight)## Dataset Structure57 unmodified lines58596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913057 unmodified lines### Dataset Summary[Data-centric AI](https://datacentricai.org) principles have become increasingly important for real-world use cases. At [Renumics](https://renumics.com/) we believe that classical benchmark datasets and competitions should be extended to reflect this development.This is why we are publishing benchmark datasets with application-specific enrichments (e.g. embeddings, baseline results, uncertainties, label error scores). We hope this helps the ML community in the following ways:1. Enable new researchers to quickly develop a profound understanding of the dataset.2. Popularize data-centric AI principles and tooling in the ML community.3. Encourage the sharing of meaningful qualitative insights in addition to traditional quantitative metrics.This dataset is an enriched version of the [dataset](https://zenodo.org/record/7690148#.ZAXsSdLMLmE) provided in the context of the [anomalous sound detection task](https://dcase.community/challenge2023/task-first-shot-unsupervised-anomalous-sound-detection-for-machine-condition-monitoring) of the [DCASE2023 challenge](https://dcase.community/challenge2023/). The enrichment include an embedding generated by a pre-trained [Audio Spectrogram Transformer](https://huggingface.co/docs/transformers/model_doc/audio-spectrogram-transformer#transformers.ASTFeatureExtractor) and results of the official challenge [baseline implementation](https://github.com/nttcslab/dase2023_task2_baseline_ae).### DCASE23 Task2 DatasetOnce a year, the [DCASE community](https://dcase.community/) publishes a [challenge](https://dcase.community/challenge2023/) with several tasks in the context of acoustic event detection and classification. [Task 2 of this challenge](https://dcase.community/challenge2023/task-first-shot-unsupervised-anomalous-sound-detection-for-machine-condition-monitoring) deals with anomalous sound detection for machine condition monitoring. The original dataset is based on the [MIMII DG](https://arxiv.org/abs/2205.13879) and the [ToyADMOS2](https://arxiv.org/abs/2106.02369) datasets. Please cite the papers by [Harada et al.](https://arxiv.org/abs/2106.02369) and [Dohi et al.](https://arxiv.org/abs/2205.13879) if you use this dataset and the paper by [Harada et al.](https://arxiv.org/pdf/2303.00455.pdf) if you use the baseline results.### Explore DatasetThe 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:Load the dataset from huggingface in your notebook:```jupyterpythonimport datasetsdataset = datasets.load_dataset("renumics/dcase23-task2-enriched", "dev", split="all", streaming=False)```Install Spotlight via [pip](https://packaging.python.org/en/latest/key_projects/#pip):```jupyterpython!pip install renumics-spotlight```Start exploring with a simple view that leverages embeddings to identify relevant data segments:```jupyterpythonfrom renumics import spotlightdf = dataset.to_pandas()spotlight.show(df, dtype={'audio': spotlight.Audio, "ast-finetuned-audioset-10-10-0.4593-embeddings": spotlight.Embedding}, layout=ds_builder.config.get_layout(config="standard"))```You can use the UI to interactively configure the view on the data. Depending on the concrete taks (e.g. model comparison, debugging, outlier detection) you might want to leverage different enrichments and metadata.This example shows a view that is suitable to compare the results of two different ML models:```jupyterpythonfrom renumics import spotlightdf = dataset.to_pandas()spotlight.show(df, dtype={'audio': spotlight.Audio, "ast-finetuned-audioset-10-10-0.4593-embeddings": spotlight.Embedding}, layout=ds_builder.config.get_layout(config="standard"))```## Using custom model results and enrichmentsWhen developing your custom model you want to use different kinds of information from you model (e.g. embedding, anomaly scores etc.) to gain further insights into the dataset and the model behvior.Suppose you have your model's embeddings for each datapoint as a 2D-Numpy array and your anomaly score as a 1D-Numpy array. Then you can add this information to the dataset:```jupyterpythonfrom renumics import spotlight#todo```Depending on your concrete task you might want to use different enrichments. For a good overview on great open source tooling for uncertainty quantification, explainability and outlier detection, you can take a look at our [curated list for open source data-centric AI tooling](https://github.com/Renumics/awesome-open-data-centric-ai) on Github.You can also save your view configuration in Spotlight in a JSON configuration file by clicking on the respective icon:We have also set up a Github repo with interactive notebooks that highlight different enrichment possibilities and curation templates. We encourage you to submit a pull request to share your enrichment code and interaction layouts.## Dataset Structure
README.md+53-13
data/spotlight_save_layout.pngAdded

Large File Pointer Details
- SHA256: 99bdaa1df1c2c8f2cb648920336ceb198ccdfa6d97b5078bcf2dac556dad04ca
- Pointer size: 130 Bytes
- Size of remote file: 14.7 kB