Datasets:
|
Download README.md from DeepFense/AffectDF: direct link, hf CLI and curl.
- Browser
- Download file 3.88 kB
-
https://huggingface.co/datasets/DeepFense/AffectDF/resolve/main/README.md
- Command line
-
hf download hf://datasets/DeepFense/AffectDF/README.md
-
curl -L -o README.md https://huggingface.co/datasets/DeepFense/AffectDF/resolve/main/README.md
3.88 kB
| license: cc-by-nc-4.0 | |
| language: [en] | |
| task_categories: | |
| - audio-classification | |
| tags: | |
| - speech-deepfake-detection | |
| - emotional-speech | |
| - audio | |
| size_categories: | |
| - 100K<n<1M | |
| configs: | |
| - config_name: default | |
| default: true | |
| data_files: | |
| - split: train | |
| path: audio/train-*.parquet | |
| - split: validation | |
| path: audio/val-*.parquet | |
| - split: test | |
| path: audio/test-*.parquet | |
| # AffectDF — DeepFense data release | |
| This repository redistributes the AffectDF audio and official protocol | |
| partitions used by DeepFense. It credits the original dataset authors; | |
| DeepFense is not the creator of the source recordings or spoof systems. | |
| **Source:** https://huggingface.co/datasets/AffectDF/AffectDF_EmotionSDD | |
| **Attribution:** AffectDF: Emotionally Expressive Speech Deepfake Benchmark. Original source card is retained in SOURCE_README.md. | |
| **License:** [cc-by-nc-4.0](https://creativecommons.org/licenses/by-nc/4.0/). The source terms remain in force; | |
| no commercial-use rights or new license are granted by this packaging. | |
| All audio bytes are retained unchanged. There is no resampling, trimming, | |
| normalization, denoising or lossy conversion in this release. | |
| ## Official splits | |
| | Source split | Rows | | |
| |---|---:| | |
| | train | 86,999 | | |
| | val | 23,330 | | |
| | test | 175,468 | | |
| Total: **285,797 recordings**. Source dev is named `val` in the original | |
| SDD metadata and `validation` in the default Hugging Face dataset configuration. | |
| Labels are the strings `bonafide` (genuine) and `spoof` (manipulated). | |
| These are the supplied partitions; no random split was invented. | |
| ## Load portable audio | |
| ```python | |
| from datasets import load_dataset | |
| ds = load_dataset("DeepFense/AffectDF", split="train", streaming=True) | |
| ``` | |
| The default dataset reads `audio/*.parquet`. Each row contains an `audio` | |
| feature with the **original WAV bytes**, original protocol metadata, | |
| `audio_sha256`, a logical repository-relative `path`, and the original | |
| absolute `sdd_path` for provenance. The audio feature loads from embedded | |
| bytes; it does not require `/ds-slt` or any cluster directory. Audio decoding | |
| uses the audio backend supported by your installed Datasets version. | |
| To access the exact file bytes without decoding or resampling: | |
| ```python | |
| from datasets import Audio | |
| raw = ds.cast_column("audio", Audio(decode=False)) | |
| row = next(iter(raw)) | |
| payload = row["audio"]["bytes"] | |
| ``` | |
| `path` is the preserved logical WAV filename, rather than a separate loose | |
| file in this repository. To recreate the local audio tree, write `payload` | |
| to that relative path. `audio_sha256` verifies it against the original file. | |
| The exporter verifies every embedded payload after writing each shard. | |
| ## Original SDD Parquets and protocols | |
| - `data.parquet`: original full SDD table, copied byte-for-byte. | |
| - `parquets/train.parquet`, `parquets/val.parquet`, `parquets/test.parquet`: | |
| original SDD protocol files, copied byte-for-byte. | |
| - `protocols/`: original source label files. | |
| - `SOURCE_SDD_README.md`: local import documentation, retained as provenance. | |
| - `publication.json`, `SHA256SUMS`: export checks, exact counts and checksums. | |
| The original four metadata Parquets keep their original absolute `path` | |
| and `original_path` columns. They are preserved for reproducibility and are | |
| not the portable audio loader. To train existing path-based scripts on a | |
| different machine, extract the embedded bytes under their logical relative | |
| paths and rebase a local copy of the metadata. Do not point a new machine | |
| at the original cluster paths. | |
| ## Scope | |
| This release contains the complete imported audio and all supplied | |
| train/validation/test rows. Protocol labels and source metadata are preserved. | |
| Dataset-specific metadata and any source conditions are described in the | |
| retained source documentation. The publisher changes storage format only; | |
| it does not change the waveform bytes or claim source-dataset authorship. | |