Update README.md
Browse filesFirst placeholder info
README.md
CHANGED
@@ -1,20 +1,49 @@
|
|
1 |
---
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
|
|
|
|
|
|
|
|
17 |
---
|
18 |
-
# Dataset Card for "test"
|
19 |
|
20 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
pretty_name: MGB2
|
3 |
+
alt_glob: []
|
4 |
+
alt_sep: ''
|
5 |
+
dataset_link: https://huggingface.co/datasets/malmarz/test_mgb2/resolve/main/mgb2.test.tar.gz
|
6 |
+
dataset_name: mgb2_speech
|
7 |
+
datasets_path: datasets
|
8 |
+
file_type: wav
|
9 |
+
header: null
|
10 |
+
hf_path: ''
|
11 |
+
json_key: null
|
12 |
+
label_column_name: ''
|
13 |
+
level: null
|
14 |
+
lines: false
|
15 |
+
local_dir: false
|
16 |
+
new_columns: ''
|
17 |
+
pal: false
|
18 |
+
skiprows: 0
|
19 |
+
squad: false
|
20 |
+
xml_columns: ''
|
21 |
---
|
|
|
22 |
|
23 |
+
|
24 |
+
Please note this dataset is licensed for research only and should not be made public.
|
25 |
+
|
26 |
+
Must remain private and only for individuals participating in the whisper sprint
|
27 |
+
|
28 |
+
### Using the data
|
29 |
+
|
30 |
+
You can stream the data data loader:
|
31 |
+
|
32 |
+
```python
|
33 |
+
myaudio = load_dataset(
|
34 |
+
"evageon/myaudio",
|
35 |
+
use_auth_token=os.environ["HG_USER_TOKEN"], # replace this with your access token
|
36 |
+
streaming=True)
|
37 |
+
```
|
38 |
+
|
39 |
+
Then you can iterate over the dataset
|
40 |
+
|
41 |
+
```python
|
42 |
+
# replace test with validation or train depending on split you need
|
43 |
+
print(next(iter(myaudio["test"])))
|
44 |
+
```
|
45 |
+
outputs:
|
46 |
+
```
|
47 |
+
{'path': 'CD93A8FF-C3ED-4AD4-95A6-8363CCB93B90_spk-0001_seg-0024467:0025150.wav', 'audio': {'path': 'dataset/test/wav/CD93A8FF-C3ED-4AD4-95A6-8363CCB93B90_spk-0001_seg-0024467:0025150.wav', 'array': array([0.00662231, 0.00497437, 0.00518799, ..., 0.01150513, 0.00708008,
|
48 |
+
0.00296021]), 'sampling_rate': 16000}, 'text': 'خطرا على دول الخليج لماذا اعتبرت أن إيران اليوم والخطر الذي تشكله إيران مختلف'}
|
49 |
+
```
|