diarray commited on
Commit
45eb8ef
·
1 Parent(s): be7541f

Update documentation and dataset viewer

Browse files
Files changed (2) hide show
  1. README.md +31 -25
  2. VERSIONING.md +2 -2
README.md CHANGED
@@ -58,13 +58,13 @@ configs:
58
  default: true
59
  data_files:
60
  - split: train
61
- path:
62
- - "jeli-asr-rmai/train/data-*.arrow"
63
  - "bam-asr-oza/train/data-*.arrow"
 
64
  - split: test
65
  path:
66
- - "jeli-asr-rmai/test/data-*.arrow"
67
  - "bam-asr-oza/test/data-*.arrow"
 
68
  description: |
69
  The **Jeli-ASR Audio Dataset** is a multilingual dataset converted into the optimized Arrow format,
70
  ensuring fast access and compatibility with modern data workflows. It contains audio samples in Bambara
@@ -84,7 +84,7 @@ This repository contains the **Jeli-ASR** dataset, which is primarily a reviewed
84
 
85
  ---
86
 
87
- ## **Key Changes in Version 1.0.1**
88
 
89
  Jeli-ASR 1.0.1 introduces several updates and enhancements, focused entirely on the transcription side of the dataset. There have been no changes to the audio files since version 1.0.0. Below are the key updates:
90
 
@@ -125,44 +125,50 @@ Note that since the two subsets were drawn from the original Jeli-ASR dataset, t
125
 
126
  ## **Usage**
127
 
128
- The manifest files are specifically created for training Automatic Speech Recognition (ASR) models in NVIDIA NeMo framework, but they can be used with any other framework that supports manifest-based input formats or reformatted for other use cases.
129
 
130
- To use the dataset, simply load the manifest files (`train-manifest.json` and `test-manifest.json`) in your training script. The file paths for the audio files and the corresponding transcriptions are already provided in these manifest files.
131
 
132
- ### Downloading the Dataset:
133
- ```bash
134
 
135
- # Clone dataset repository maintaining directory structure for quick setup with Nemo
136
- git clone --depth 1 https://huggingface.co/datasets/RobotsMali/jeli-asr
137
  ```
138
 
139
- **OR**
140
 
141
- ```python
142
 
143
- from datasets import load_dataset
144
 
145
- # Load the dataset into Hugging Face Dataset object
146
- dataset = load_dataset("RobotsMali/jeli-asr")
 
147
  ```
148
 
149
- ### Finetuning Example in NeMo:
150
 
151
- ```python
152
- from nemo.collectisr.models import ASRModel
153
- train_manifest = 'jeli-asr/manifests/train-manifest.json'
154
- test_manifest = 'jeli-asr/manifests/test-manifest.json'
 
 
155
 
156
- asr_model = ASRModel.from_pretrained("QuartzNet15x5Base-En")
157
 
158
- # Adapt the model's vocab before training
159
- asr_model.setup_training_data(train_data_config={'manifest_filepath': train_manifest})
160
- asr_model.setup_validation_data(val_data_config={'manifest_filepath': test_manifest})
 
 
161
  ```
162
 
 
 
163
  ## **Known Issues**
164
 
165
- While significantly improved, this dataset may still contain a few Slightly misaligned samples. It has conserved most of the issues of the original dataset such as: 
166
 
167
  - Inconsistent transcriptions
168
  - Non-standardized naming conventions.
 
58
  default: true
59
  data_files:
60
  - split: train
61
+ path:
 
62
  - "bam-asr-oza/train/data-*.arrow"
63
+ - "jeli-asr-rmai/train/data-*.arrow"
64
  - split: test
65
  path:
 
66
  - "bam-asr-oza/test/data-*.arrow"
67
+ - "jeli-asr-rmai/test/data-*.arrow"
68
  description: |
69
  The **Jeli-ASR Audio Dataset** is a multilingual dataset converted into the optimized Arrow format,
70
  ensuring fast access and compatibility with modern data workflows. It contains audio samples in Bambara
 
84
 
85
  ---
86
 
87
+ ## **Key Changes in Version 1.0.1 (December 17th)**
88
 
89
  Jeli-ASR 1.0.1 introduces several updates and enhancements, focused entirely on the transcription side of the dataset. There have been no changes to the audio files since version 1.0.0. Below are the key updates:
90
 
 
125
 
126
  ## **Usage**
127
 
128
+ The data in the main branch are in .arrow format for compatibility with HF's Datasets Library. So you don't need any ajustement to load the dataset directly with datasets:
129
 
130
+ ```python
131
 
132
+ from datasets import load_dataset
 
133
 
134
+ # Load the dataset into Hugging Face Dataset object
135
+ dataset = load_dataset("RobotsMali/jeli-asr")
136
  ```
137
 
138
+ However, an "archives" branch has been added for improved versioning of the dataset and to facilitate usage for those working outside the typical Hugging Face workflow. Precisely the archives are created from the directory of version 1.0.0 tailored for usage with NVIDIA's NEMO. If you prefer to reconstrcut the dataset from archives you can follow the instructions below.
139
 
140
+ ### Downloading the Dataset:
141
 
142
+ You could download the dataset by git cloning this branch:
143
 
144
+ ```bash
145
+ # Clone dataset repository maintaining directory structure for quick setup with Nemo
146
+ git clone --depth 1 -b archives https://huggingface.co/datasets/RobotsMali/jeli-asr
147
  ```
148
 
149
+ Or you could download the individual archives that you are interested in, thus avoiding the git overload
150
 
151
+ ```bash
152
+ # Download the audios with wget
153
+ wget https://huggingface.co/datasets/RobotsMali/jeli-asr/resolve/archives/audio-archives/jeli-asr-1.0.0-audios.tar.gz
154
+ # Download the manifests in the same way
155
+ wget https://huggingface.co/datasets/RobotsMali/jeli-asr/resolve/archives/manifests-archives/jeli-asr-1.0.1-manifests.tar.gz
156
+ ```
157
 
158
+ Finally, untar those files to reconstruct the default Directory structure of jeli-asr 1.0.0:
159
 
160
+ ```bash
161
+ # untar the audios
162
+ tar -xvzf jeli-asr-1.0.0-audios.tar.gz
163
+ # untar the manifests
164
+ tar -xvzf jeli-asr-1.0.0-audios.tar.gz
165
  ```
166
 
167
+ This approach allow you to combine the data from different versions and restructure your working directory as you with, with more ease and without necessarily having to write code.
168
+
169
  ## **Known Issues**
170
 
171
+ While significantly improved, this dataset may still contain some misaligned samples. It has conserved most of the issues of the original dataset such as: 
172
 
173
  - Inconsistent transcriptions
174
  - Non-standardized naming conventions.
VERSIONING.md CHANGED
@@ -1,4 +1,4 @@
1
- ## **Key Changes in Version 1.0.1**
2
 
3
  Jeli-ASR 1.0.1 introduces several updates and enhancements, focused entirely on the transcription side of the dataset. There have been no changes to the audio files since version 1.0.0. Below are the key updates:
4
 
@@ -21,7 +21,7 @@ These changes enhance the dataset's usability for ASR tasks while providing a cl
21
 
22
  ---
23
 
24
- ## **Key Changes in Version 1.0.0**
25
 
26
  ### **1. Name Change**
27
 
 
1
+ ## **Key Changes in Version 1.0.1 (December 17th)**
2
 
3
  Jeli-ASR 1.0.1 introduces several updates and enhancements, focused entirely on the transcription side of the dataset. There have been no changes to the audio files since version 1.0.0. Below are the key updates:
4
 
 
21
 
22
  ---
23
 
24
+ ## **Key Changes in Version 1.0.0 (December 10th)**
25
 
26
  ### **1. Name Change**
27