Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix #130 update data preparation guidance for mala_asr #166

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions examples/mala_asr_slidespeech/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,26 @@ Encoder | Projector | LLM | dev | test
## Data preparation
Refer to official [SLIDESPEECH CORPUS](https://slidespeech.github.io/)

The dataset requires four files: "my_wav.scp", "utt2num_samples", "text", "hot_related/ocr_1gram_top50_mmr070_hotwords_list".

"my_wav.scp" is a file of audio path lists. We transform wav file to ark file, so this file looks like:

```
ID1 xxx/slidespeech/dev_oracle_v1/data/format.1/data_wav.ark:22
ID2 xxx/slidespeech/dev_oracle_v1/data/format.1/data_wav.ark:90445
```

SLIDESPEECH provides "text" and a file named "keywords". The file "keywords" refers to "hot_related/ocr_1gram_top50_mmr070_hotwords_list", which contains hotwords lists.

"utt2num_samples" contains the length of the wavs, which looks like:

```
ID1 103680
ID2 181600
```

Please ensure that the order of all files is strictly consistent.

## Decode with checkpoints
```
bash decode_MaLa-ASR_withkeywords_L95.sh
Expand Down
Loading