gagannarula commited on
Commit
593b995
·
verified ·
1 Parent(s): 49a8e4c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +10 -1
README.md CHANGED
@@ -59,9 +59,18 @@ idx = np.where(np.array(ds["dataset_name"]) == "esc50")[0]
59
  esc50 = ds.select(idx)
60
  print(esc50)
61
  ```
 
 
 
 
 
 
 
 
 
62
  ## Dataset Composition
63
 
64
- BEANS-Zero combines data from several well-known sources. There are total of 113,679 samples (examples). It consists of two main groups:
65
 
66
  ### Already Part of the BEANS Benchmark
67
  - **esc-50:** A labeled collection of 2000 environmental audio recordings (5 seconds each) spanning 50 classes. ([CC-BY-NC](http://dx.doi.org/10.1145/2733373.2806390))
 
59
  esc50 = ds.select(idx)
60
  print(esc50)
61
  ```
62
+ ```python
63
+ # To stream the dataset instead of downloading it, first
64
+ ds = load_dataset("EarthSpeciesProject/BEANS-Zero", split="test", streaming=True)
65
+
66
+ for i, sample in enumerate(ds):
67
+ # check one sample
68
+ break
69
+ print(sample.keys())
70
+ ```
71
  ## Dataset Composition
72
 
73
+ BEANS-Zero combines data from several well-known sources. There are total of 91965 samples (examples). It consists of two main groups:
74
 
75
  ### Already Part of the BEANS Benchmark
76
  - **esc-50:** A labeled collection of 2000 environmental audio recordings (5 seconds each) spanning 50 classes. ([CC-BY-NC](http://dx.doi.org/10.1145/2733373.2806390))