hypaai commited on
Commit
8ddb540
·
verified ·
1 Parent(s): c048840

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -23
README.md CHANGED
@@ -139,7 +139,7 @@ Data Fields
139
  * target_audio (datasets.Audio): An audio feature containing the recorded speech in the target language. When loaded, provides the path, decoded audio array, and sampling rate (16000 Hz).
140
  * [Optional Fields]: Currently, the only additional/ optional field here is "Speaker" denoting the name of the speaker.
141
 
142
- Below is a bird's eye view of the directory structure for this repository:
143
 
144
  ```
145
  Hypa_Fleurs/
@@ -159,8 +159,6 @@ Hypa_Fleurs/
159
  └── load_dataset.py
160
  ```
161
 
162
- > **Note:** Adjust file names and structures based on your actual implementation.
163
-
164
  ---
165
 
166
  ## Usage
@@ -178,26 +176,6 @@ dataset = load_dataset("hypaai/Hypa_Fleurs", split="igbo")
178
  print(dataset[0])
179
  ```
180
 
181
- ### Example Code
182
-
183
- A sample script to load and inspect the dataset is provided in the `examples/load_dataset.py` file:
184
-
185
- ```python
186
- import datasets
187
-
188
- def main():
189
- # Load text dataset
190
- text_ds = datasets.load_dataset("your-username/Hypa_Fleurs", split="train")
191
- print("Text Sample:", text_ds[0])
192
-
193
- # Load audio dataset (if configured as a separate configuration)
194
- audio_ds = datasets.load_dataset("your-username/Hypa_Fleurs", name="audio", split="train")
195
- print("Audio Sample:", audio_ds[0])
196
-
197
- if __name__ == "__main__":
198
- main()
199
- ```
200
-
201
  ---
202
 
203
  ## Data Preparation
 
139
  * target_audio (datasets.Audio): An audio feature containing the recorded speech in the target language. When loaded, provides the path, decoded audio array, and sampling rate (16000 Hz).
140
  * [Optional Fields]: Currently, the only additional/ optional field here is "Speaker" denoting the name of the speaker.
141
 
142
+ > Below is a bird's eye view of the directory structure for this repository:
143
 
144
  ```
145
  Hypa_Fleurs/
 
159
  └── load_dataset.py
160
  ```
161
 
 
 
162
  ---
163
 
164
  ## Usage
 
176
  print(dataset[0])
177
  ```
178
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
179
  ---
180
 
181
  ## Data Preparation