Datasets:
The dataset viewer is not available for this split.
Server error while post-processing the rows. Please report the issue.
Error code: RowsPostProcessingError
Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
EuroSpeech parliamentary speech converted to DAC VAE latents
Source
Format
Each tar shard (~2GB) contains samples with three files per sample:
{sample_key}.audio.flac # Original audio (FLAC, original sample rate)
{sample_key}.dacvae.npy # DAC VAE latent [T_latent, 128] numpy float32
{sample_key}.metadata.json # All metadata + duration_seconds + chars_per_second
DAC VAE Latent Format
- Model: mrfakename/dacvae-watermarked (Facebook DACVAE)
- Input sample rate: 48,000 Hz (audio resampled before encoding)
- Latent shape:
[T_latent, 128]whereT_latent = ceil(audio_samples / 1920) - Latent rate: 25 frames/second
- Storage: numpy float32
Shard Naming
{LANG}-{split}-{index:05d}.tar (e.g., EN-train-00000.tar, DE-train-00001.tar)
Loading
With WebDataset
import webdataset as wds
import numpy as np
import json
import soundfile as sf
import io
url = "https://huggingface.co/datasets/laion/eurospeech-enhanced-dacvae/resolve/main/EN-train-00000.tar"
dataset = wds.WebDataset(url).decode()
for sample in dataset:
audio_bytes = sample["audio.flac"]
latent = np.load(io.BytesIO(sample["dacvae.npy"])) # [T, 128]
meta = json.loads(sample["metadata.json"])
print(f"Text: {meta['text']}, Duration: {meta['duration_seconds']}s, CPS: {meta['chars_per_second']}")
Decoding Latents Back to Audio
from dacvae import DACVAE
from huggingface_hub import hf_hub_download
import torch, numpy as np
model = DACVAE.load(hf_hub_download("mrfakename/dacvae-watermarked", "weights.pth")).cuda().eval()
latent = np.load("sample.dacvae.npy") # [T_latent, 128]
z = torch.from_numpy(latent.T).unsqueeze(0).cuda() # [1, 128, T_latent]
audio_48k = model.decode(z).squeeze(0).cpu() # [1, T_audio] at 48kHz
Current Status
Shards uploaded: 1984
Progress by Language
| Language | Samples |
|---|---|
| BG_train | 52,640 |
| DA_train | 927,828 |
| DE_train | 289,064 |
| EN_train | 886,313 |
| FI_train | 33,216 |
| HR_train | 937,776 |
| IT_train | 658,660 |
| LT_train | 631,549 |
| LV_train | 197,424 |
| MT_train | 305,571 |
| NO_train | 906,657 |
| PT_train | 780,468 |
| SR_train | 288,488 |
| SV_train | 2,512 |
Metadata Fields
Each metadata.json contains:
dataset: Source dataset namelanguage: Language codesplit: Data split (train/dev/test)sample_id: Original sample identifiertext: Transcriptduration_seconds: Audio duration in secondschars_per_second: Text characters per second of audiooriginal_sample_rate: Original audio sample ratedacvae_sample_rate: 48000 (DAC VAE input rate)latent_frames: Number of latent time frames- Plus all original dataset-specific fields
Generated with Claude Code
- Downloads last month
- 1,460