AAdonis commited on
Commit
42a14d0
·
verified ·
1 Parent(s): 956087e

README: remove redundant cast_column (audio already decoded at 24kHz), fix dtype float32→float64, update repo refs to disco-eth/WorldSpeech

Browse files
Files changed (1) hide show
  1. README.md +2 -3
README.md CHANGED
@@ -796,7 +796,7 @@ from datasets import load_dataset, Audio
796
  ds = load_dataset("disco-eth/WorldSpeech", "nl_nl", split="train")
797
 
798
  row = ds[0]
799
- wav = row["audio"]["array"] # 1-D float32 numpy array, 24 kHz mono
800
  sr = row["audio"]["sampling_rate"] # 24000
801
  text = row["human_transcript"]
802
  snr = row["snr"]
@@ -807,7 +807,6 @@ dnsmos = row["dnsmos_ovr"]
807
 
808
  ```python
809
  ds = load_dataset("disco-eth/WorldSpeech", "nl_nl", split="train", streaming=True)
810
- ds = ds.cast_column("audio", Audio(sampling_rate=24000))
811
  for row in ds:
812
  wav = row["audio"]["array"]
813
  break
@@ -818,7 +817,7 @@ for row in ds:
818
 
819
  | Field | Type | Description |
820
  |---|---|---|
821
- | `audio` | `Audio` | OGG Opus decoded to `{"array": np.float32[N], "sampling_rate": 24000}`. **Null for metadata-only configs.** |
822
  | `human_transcript` | `string` | Verified human-written transcript |
823
  | `asr_transcript` | `string` | ASR output used for alignment and CER computation |
824
  | `cer` | `float32` | Character error rate between `asr_transcript` and `human_transcript` |
 
796
  ds = load_dataset("disco-eth/WorldSpeech", "nl_nl", split="train")
797
 
798
  row = ds[0]
799
+ wav = row["audio"]["array"] # 1-D float64 numpy array, 24 kHz mono
800
  sr = row["audio"]["sampling_rate"] # 24000
801
  text = row["human_transcript"]
802
  snr = row["snr"]
 
807
 
808
  ```python
809
  ds = load_dataset("disco-eth/WorldSpeech", "nl_nl", split="train", streaming=True)
 
810
  for row in ds:
811
  wav = row["audio"]["array"]
812
  break
 
817
 
818
  | Field | Type | Description |
819
  |---|---|---|
820
+ | `audio` | `Audio` | OGG Opus decoded to `{"array": np.float64[N], "sampling_rate": 24000}`. **Null for metadata-only configs.** |
821
  | `human_transcript` | `string` | Verified human-written transcript |
822
  | `asr_transcript` | `string` | ASR output used for alignment and CER computation |
823
  | `cer` | `float32` | Character error rate between `asr_transcript` and `human_transcript` |