evageon commited on
Commit
d283d90
·
1 Parent(s): 7e13a7f

Update README.md

Browse files

First placeholder info

Files changed (1) hide show
  1. README.md +46 -17
README.md CHANGED
@@ -1,20 +1,49 @@
1
  ---
2
- dataset_info:
3
- features:
4
- - name: audio
5
- dtype: audio
6
- - name: transcription
7
- dtype: string
8
- splits:
9
- - name: test
10
- num_bytes: 384372257.17
11
- num_examples: 3890
12
- - name: train
13
- num_bytes: 1488884786.673
14
- num_examples: 15559
15
- download_size: 1841218720
16
- dataset_size: 1873257043.8430002
 
 
 
 
17
  ---
18
- # Dataset Card for "test"
19
 
20
- [More Information needed](https://github.com/huggingface/datasets/blob/main/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ ```