tobiolatunji
commited on
Commit
·
db5d2e3
1
Parent(s):
e9dead8
update readme with all config
Browse files
README.md
CHANGED
|
@@ -93,7 +93,13 @@ Our goal is to raise awareness for and advance Pan-African English ASR research,
|
|
| 93 |
|
| 94 |
The `datasets` library allows you to load and pre-process your dataset in pure Python, at scale. The dataset can be downloaded and prepared in one call to your local drive by using the `load_dataset` function.
|
| 95 |
|
| 96 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 97 |
|
| 98 |
In future updates, you will be able to pass a config to the `load_dataset` function and download only a subset of the data corresponding to a specific accent of interest. The example provided below is `isizulu`.
|
| 99 |
|
|
@@ -111,6 +117,7 @@ from datasets import load_dataset
|
|
| 111 |
afrispeech = load_dataset("tobiolatunji/afrispeech-200", "isizulu", split="train", streaming=True)
|
| 112 |
|
| 113 |
print(next(iter(afrispeech)))
|
|
|
|
| 114 |
```
|
| 115 |
|
| 116 |
### Local
|
|
|
|
| 93 |
|
| 94 |
The `datasets` library allows you to load and pre-process your dataset in pure Python, at scale. The dataset can be downloaded and prepared in one call to your local drive by using the `load_dataset` function.
|
| 95 |
|
| 96 |
+
```python
|
| 97 |
+
from datasets import load_dataset
|
| 98 |
+
|
| 99 |
+
afrispeech = load_dataset("tobiolatunji/afrispeech-200", "all")
|
| 100 |
+
```
|
| 101 |
+
|
| 102 |
+
The entire dataset is ~120GB and may take about 2hrs to download depending on internet speed/bandwidth. If you have disk space or bandwidth limitations, you can use `streaming` mode described below to work with smaller subsets of the data.
|
| 103 |
|
| 104 |
In future updates, you will be able to pass a config to the `load_dataset` function and download only a subset of the data corresponding to a specific accent of interest. The example provided below is `isizulu`.
|
| 105 |
|
|
|
|
| 117 |
afrispeech = load_dataset("tobiolatunji/afrispeech-200", "isizulu", split="train", streaming=True)
|
| 118 |
|
| 119 |
print(next(iter(afrispeech)))
|
| 120 |
+
print(list(afrispeech.take(5)))
|
| 121 |
```
|
| 122 |
|
| 123 |
### Local
|