freococo commited on
Commit
e1a85f0
·
verified ·
1 Parent(s): ebd7719

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +5 -3
README.md CHANGED
@@ -40,14 +40,16 @@ Each .mp3 is paired with a .json file containing structured metadata including f
40
 
41
  ## Usage
42
 
 
 
43
  ```python
44
  from datasets import load_dataset
45
 
46
- # Stream the WebDataset TAR
47
  ds = load_dataset("freococo/voa_myanmar_asr_audio", split="train", streaming=True)
48
 
49
- data = next(iter(ds))
50
- meta = data["json"]
51
  print(meta["file_name"], meta["broadcast_date"], meta["duration"])
52
  ```
53
  Each item will have:
 
40
 
41
  ## Usage
42
 
43
+ ## Usage
44
+
45
  ```python
46
  from datasets import load_dataset
47
 
48
+ # Stream all TARs under /train/
49
  ds = load_dataset("freococo/voa_myanmar_asr_audio", split="train", streaming=True)
50
 
51
+ sample = next(iter(ds))
52
+ meta = sample["json"]
53
  print(meta["file_name"], meta["broadcast_date"], meta["duration"])
54
  ```
55
  Each item will have: