Update README.md
Browse files
README.md
CHANGED
|
@@ -18,3 +18,13 @@ from datasets import load_dataset
|
|
| 18 |
|
| 19 |
dataset = load_dataset("PrathamOrgAI/ReadNet")
|
| 20 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
|
| 19 |
dataset = load_dataset("PrathamOrgAI/ReadNet")
|
| 20 |
```
|
| 21 |
+
|
| 22 |
+
### Data Fields
|
| 23 |
+
|
| 24 |
+
- file: A path to the downloaded audio file in .flac format.
|
| 25 |
+
|
| 26 |
+
- audio: A dictionary containing the path to the downloaded audio file, the decoded audio array, and the sampling rate. Note that when accessing the audio column: `dataset[0]["audio"]` the audio file is automatically decoded and resampled to `dataset.features["audio"].sampling_rate`. Decoding and resampling of a large number of audio files might take a significant amount of time. Thus it is important to first query the sample index before the `"audio"` column, *i.e.* `dataset[0]["audio"]` should **always** be preferred over `dataset["audio"][0]`.
|
| 27 |
+
|
| 28 |
+
- text: the transcription of the audio file.
|
| 29 |
+
|
| 30 |
+
- id: unique id of the data sample.
|