FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix typos and add ignores from past 6 months · speechbrain/speechbrain@1db6d58 · GitHub

Commit 1db6d58

Browse files
committed
Fix typos and add ignores from past 6 months
1 parent e40ee88 commit 1db6d58

65 files changed

Lines changed: 178 additions & 178 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎README.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ The results will be saved in the `output_folder` specified in the YAML file.
146146
## 🎙️ Speech/Audio Processing
147147
| Tasks | Datasets | Technologies/Models |
148148
| ------------- |-------------| -----|
149-
| Speech Recognition | [AISHELL-1](https://github.com/speechbrain/speechbrain/tree/develop/recipes/AISHELL-1), [CommonVoice](https://github.com/speechbrain/speechbrain/tree/develop/recipes/CommonVoice), [DVoice](https://github.com/speechbrain/speechbrain/tree/develop/recipes/DVoice), [KsponSpeech](https://github.com/speechbrain/speechbrain/tree/develop/recipes/KsponSpeech), [LibriSpeech](https://github.com/speechbrain/speechbrain/tree/develop/recipes/LibriSpeech), [MEDIA](https://github.com/speechbrain/speechbrain/tree/develop/recipes/MEDIA), [RescueSpeech](https://github.com/speechbrain/speechbrain/tree/develop/recipes/RescueSpeech), [Switchboard](https://github.com/speechbrain/speechbrain/tree/develop/recipes/Switchboard), [TIMIT](https://github.com/speechbrain/speechbrain/tree/develop/recipes/TIMIT), [Tedlium2](https://github.com/speechbrain/speechbrain/tree/develop/recipes/Tedlium2), [Voicebank](https://github.com/speechbrain/speechbrain/tree/develop/recipes/Voicebank) | [CTC](https://www.cs.toronto.edu/~graves/icml_2006.pdf), [Tranducers](https://arxiv.org/pdf/1211.3711.pdf?origin=publication_detail), [Transformers](https://arxiv.org/abs/1706.03762), [Seq2Seq](http://zhaoshuaijiang.com/file/Hybrid_CTC_Attention_Architecture_for_End-to-End_Speech_Recognition.pdf), [Beamsearch techniques for CTC](https://arxiv.org/pdf/1911.01629.pdf),[seq2seq](https://arxiv.org/abs/1904.02619.pdf),[transducers](https://www.merl.com/publications/docs/TR2017-190.pdf)), [Rescoring](https://arxiv.org/pdf/1612.02695.pdf), [Conformer](https://arxiv.org/abs/2005.08100), [Branchformer](https://arxiv.org/abs/2207.02971), [Hyperconformer](https://arxiv.org/abs/2305.18281), [Kaldi2-FST](https://github.com/k2-fsa/k2) |
149+
| Speech Recognition | [AISHELL-1](https://github.com/speechbrain/speechbrain/tree/develop/recipes/AISHELL-1), [CommonVoice](https://github.com/speechbrain/speechbrain/tree/develop/recipes/CommonVoice), [DVoice](https://github.com/speechbrain/speechbrain/tree/develop/recipes/DVoice), [KsponSpeech](https://github.com/speechbrain/speechbrain/tree/develop/recipes/KsponSpeech), [LibriSpeech](https://github.com/speechbrain/speechbrain/tree/develop/recipes/LibriSpeech), [MEDIA](https://github.com/speechbrain/speechbrain/tree/develop/recipes/MEDIA), [RescueSpeech](https://github.com/speechbrain/speechbrain/tree/develop/recipes/RescueSpeech), [Switchboard](https://github.com/speechbrain/speechbrain/tree/develop/recipes/Switchboard), [TIMIT](https://github.com/speechbrain/speechbrain/tree/develop/recipes/TIMIT), [Tedlium2](https://github.com/speechbrain/speechbrain/tree/develop/recipes/Tedlium2), [Voicebank](https://github.com/speechbrain/speechbrain/tree/develop/recipes/Voicebank) | [CTC](https://www.cs.toronto.edu/~graves/icml_2006.pdf), [Transducers](https://arxiv.org/pdf/1211.3711.pdf?origin=publication_detail), [Transformers](https://arxiv.org/abs/1706.03762), [Seq2Seq](http://zhaoshuaijiang.com/file/Hybrid_CTC_Attention_Architecture_for_End-to-End_Speech_Recognition.pdf), [Beamsearch techniques for CTC](https://arxiv.org/pdf/1911.01629.pdf),[seq2seq](https://arxiv.org/abs/1904.02619.pdf),[transducers](https://www.merl.com/publications/docs/TR2017-190.pdf)), [Rescoring](https://arxiv.org/pdf/1612.02695.pdf), [Conformer](https://arxiv.org/abs/2005.08100), [Branchformer](https://arxiv.org/abs/2207.02971), [Hyperconformer](https://arxiv.org/abs/2305.18281), [Kaldi2-FST](https://github.com/k2-fsa/k2) |
150150
| Speaker Recognition | [VoxCeleb](https://github.com/speechbrain/speechbrain/tree/develop/recipes/VoxCeleb) | [ECAPA-TDNN](https://arxiv.org/abs/2005.07143), [ResNET](https://arxiv.org/pdf/1910.12592.pdf), [Xvectors](https://www.danielpovey.com/files/2018_icassp_xvectors.pdf), [PLDA](https://ieeexplore.ieee.org/document/6639151), [Score Normalization](https://www.sciencedirect.com/science/article/abs/pii/S1051200499903603) |
151151
| Speech Separation | [WSJ0Mix](https://github.com/speechbrain/speechbrain/tree/develop/recipes/WSJ0Mix), [LibriMix](https://github.com/speechbrain/speechbrain/tree/develop/recipes/LibriMix), [WHAM!](https://github.com/speechbrain/speechbrain/tree/develop/recipes/WHAMandWHAMR), [WHAMR!](https://github.com/speechbrain/speechbrain/tree/develop/recipes/WHAMandWHAMR), [Aishell1Mix](https://github.com/speechbrain/speechbrain/tree/develop/recipes/Aishell1Mix), [BinauralWSJ0Mix](https://github.com/speechbrain/speechbrain/tree/develop/recipes/BinauralWSJ0Mix) | [SepFormer](https://arxiv.org/abs/2010.13154), [RESepFormer](https://arxiv.org/abs/2206.09507), [SkiM](https://arxiv.org/abs/2201.10800), [DualPath RNN](https://arxiv.org/abs/1910.06379), [ConvTasNET](https://arxiv.org/abs/1809.07454) |
152152
| Speech Enhancement | [DNS](https://github.com/speechbrain/speechbrain/tree/develop/recipes/DNS), [Voicebank](https://github.com/speechbrain/speechbrain/tree/develop/recipes/Voicebank) | [SepFormer](https://arxiv.org/abs/2010.13154), [MetricGAN](https://arxiv.org/abs/1905.04874), [MetricGAN-U](https://arxiv.org/abs/2110.05866), [SEGAN](https://arxiv.org/abs/1703.09452), [spectral masking](http://staff.ustc.edu.cn/~jundu/Publications/publications/Trans2015_Xu.pdf), [time masking](http://staff.ustc.edu.cn/~jundu/Publications/publications/Trans2015_Xu.pdf) |
@@ -160,10 +160,10 @@ The results will be saved in the `output_folder` specified in the YAML file.
160160
| Voice Activity Detection | [LibriParty](https://github.com/speechbrain/speechbrain/tree/develop/recipes/LibriParty) | [CRDNN](https://arxiv.org/abs/2106.04624) |
161161
| Sound Classification | [ESC50](https://github.com/speechbrain/speechbrain/tree/develop/recipes/ESC50), [UrbanSound](https://github.com/speechbrain/speechbrain/tree/develop/recipes/UrbanSound8k) | [CNN14](https://github.com/ranchlai/sound_classification), [ECAPA-TDNN](https://arxiv.org/abs/2005.07143) |
162162
| Self-Supervised Learning | [CommonVoice](https://github.com/speechbrain/speechbrain/tree/develop/recipes/CommonVoice), [LibriSpeech](https://github.com/speechbrain/speechbrain/tree/develop/recipes/LibriSpeech) | [wav2vec2](https://arxiv.org/abs/2006.11477) |
163-
| Interpretabiliy | [ESC50](https://github.com/speechbrain/speechbrain/tree/develop/recipes/ESC50) | [Learning-to-Interpret (L2I)](https://proceedings.neurips.cc/paper_files/paper/2022/file/e53280d73dd5389e820f4a6250365b0e-Paper-Conference.pdf), [Non-Negative Matrix Factorization (NMF)](https://proceedings.neurips.cc/paper_files/paper/2022/file/e53280d73dd5389e820f4a6250365b0e-Paper-Conference.pdf), [PIQ](https://arxiv.org/abs/2303.12659) |
163+
| Interpretability | [ESC50](https://github.com/speechbrain/speechbrain/tree/develop/recipes/ESC50) | [Learning-to-Interpret (L2I)](https://proceedings.neurips.cc/paper_files/paper/2022/file/e53280d73dd5389e820f4a6250365b0e-Paper-Conference.pdf), [Non-Negative Matrix Factorization (NMF)](https://proceedings.neurips.cc/paper_files/paper/2022/file/e53280d73dd5389e820f4a6250365b0e-Paper-Conference.pdf), [PIQ](https://arxiv.org/abs/2303.12659) |
164164
| Speech Generation | [AudioMNIST](https://github.com/speechbrain/speechbrain/tree/develop/recipes/AudioMNIST) | [Diffusion](https://arxiv.org/abs/2006.11239), [Latent Diffusion](https://arxiv.org/abs/2112.10752) |
165165
| Metric Learning | [REAL-M](https://github.com/speechbrain/speechbrain/tree/develop/recipes/REAL-M/sisnr-estimation), [Voicebank](https://github.com/speechbrain/speechbrain/tree/develop/recipes/Voicebank) | [Blind SNR-Estimation](https://arxiv.org/abs/2002.08909), [PESQ Learning](https://arxiv.org/abs/2110.05866) |
166-
| Allignment | [TIMIT](https://github.com/speechbrain/speechbrain/tree/develop/recipes/TIMIT) | [CTC](https://www.cs.toronto.edu/~graves/icml_2006.pdf), [Viterbi](https://www.cs.cmu.edu/~cga/behavior/rabiner1.pdf), [Forward Forward](https://www.cs.cmu.edu/~cga/behavior/rabiner1.pdf) |
166+
| Alignment | [TIMIT](https://github.com/speechbrain/speechbrain/tree/develop/recipes/TIMIT) | [CTC](https://www.cs.toronto.edu/~graves/icml_2006.pdf), [Viterbi](https://www.cs.cmu.edu/~cga/behavior/rabiner1.pdf), [Forward Forward](https://www.cs.cmu.edu/~cga/behavior/rabiner1.pdf) |
167167
| Diarization | [AMI](https://github.com/speechbrain/speechbrain/tree/develop/recipes/AMI) | [ECAPA-TDNN](https://arxiv.org/abs/2005.07143), [X-vectors](https://www.danielpovey.com/files/2018_icassp_xvectors.pdf), [Spectral Clustering](http://www.ifp.illinois.edu/~hning2/papers/Ning_spectral.pdf) |
168168

169169
## 📝 Text Processing

‎recipes/AISHELL-1/ASR/transformer/hparams/train_ASR_transformer.yaml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,8 +279,8 @@ fea_augment: !new:speechbrain.augment.augmenter.Augmenter
279279
concat_original: True
280280
min_augmentations: 1
281281
max_augmentations: 1
282-
augment_start_index: !ref <batch_size> # This leaves unchanges original inputs
283-
concat_end_index: !ref <batch_size> # This leaves unchanges original inputs
282+
augment_start_index: !ref <batch_size> # This leaves original inputs unchanged
283+
concat_end_index: !ref <batch_size> # This leaves original inputs unchanged
284284
augment_prob: 1.0
285285
augmentations: [
286286
!ref <time_drop>,

‎recipes/CVSS/S2ST/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Speech-to-Speech Translation (with CVSS)
22
This folder contains the recipe for training a speech-to-unit translation (S2UT) model using a pre-trained Wav2Vec 2.0 encoder and a transformer decoder on the CVSS dataset.
3-
The implementation is based on [Textless Speech-to-Speech Translation](https://arxiv.org/abs/2112.08352) and [Enhanced Direct Speech-to-Speech Translation Using Self-supervised Pre-training and Data Augmentatio](https://arxiv.org/abs/2204.02967) papers.
3+
The implementation is based on [Textless Speech-to-Speech Translation](https://arxiv.org/abs/2112.08352) and [Enhanced Direct Speech-to-Speech Translation Using Self-supervised Pre-training and Data Augmentation](https://arxiv.org/abs/2204.02967) papers.
44

55
## Dataset
66
[CVSS](https://github.com/google-research-datasets/cvss) is a massively multilingual-to-English speech-to-speech translation corpus. It covers pairs from 21 languages into English. CVSS is derived from the Common Voice speech corpus and the CoVoST 2 speech-to-text translation corpus.

‎recipes/CVSS/cvss_prepare.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"test": "test",
3838
}
3939

40-
# Number of samples for the small evalution subset
40+
# Number of samples for the small evaluation subset
4141
SMALL_EVAL_SIZE = 1000
4242

4343
log_format = "[%(asctime)s] [%(levelname)s]: %(message)s"

‎recipes/CommonVoice/ASR/CTC/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ This folder contains scripts necessary to run an ASR experiment with the CommonV
55
python train.py hparams/{hparam_file}.yaml
66

77
To use an n-gram Language Model (LM) for decoding, follow these steps:
8-
1. Uncomment the line `kenlm_model_path: none` in the `test_beam_serch` entry in the yaml file.
8+
1. Uncomment the line `kenlm_model_path: none` in the `test_beam_search` entry in the yaml file.
99
2. Set a path to an ARPA or bin file containing the n-gram LM.
1010

1111
For training an n-gram LM in ARPA (or bin) format, refer to the LM recipe in recipes/CommonVoice/LM.

‎recipes/CommonVoice/LM/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
# Traing KenLM
2+
# Training KenLM
33
This folder contains recipes for training the kenLM-gram model for the CommonVoice Dataset.
44
Using Wav2Vec2 in combination with a language model can yield a significant improvement, especially when the model is fine-tuned on small speech datasets. This is a guide to explain how one can create an n-gram language model and combine it with an existing fine-tuned Wav2Vec2.
55

‎recipes/CommonVoice/LM/train.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def csv2text():
7070
)
7171
csv2text()
7272

73-
logger.info(f"Start tarining {hparams['ngram']}-gram kenlm model.")
73+
logger.info(f"Start training {hparams['ngram']}-gram kenlm model.")
7474
tmp_ngram_file = "ngram.arpa"
7575
cmd = f'lmplz -o {hparams["ngram"]} <"{hparams["text_file"]}" > "{tmp_ngram_file}"'
7676
os.system(cmd)

‎recipes/DNS/dns_download.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@
167167
"https://dns4public.blob.core.windows.net/dns4archive/datasets_fullband"
168168
)
169169

170-
# Impulse reponse and Blind testset
170+
# Impulse response and Blind testset
171171
OTHER_URLS = {
172172
"impulse_responses": [
173173
"https://www.openslr.org/resources/26/sim_rir_16k.zip",
@@ -308,7 +308,7 @@ def download_file(
308308
Split name of the file being downloaded
309309
e.g. read_speech
310310
filename : str
311-
Fielname of the file being downloaded
311+
Filename of the file being downloaded
312312
resume_byte_pos: (int, optional)
313313
Starting byte position for resuming the download.
314314
Default is None, which means a fresh download.
@@ -572,7 +572,7 @@ def validate_file(download_url, download_path):
572572
else:
573573
prepare_download()
574574

575-
# Modfy contents inside RIR_simple_table.csv
575+
# Modify contents inside RIR_simple_table.csv
576576
file_path = os.path.join(
577577
DECOMPRESSED_PATH, "impulse_responses", "RIR_table_simple.csv"
578578
)

‎recipes/DNS/enhancement/README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ For data download and prepration, please refer to the `README.md` in `recipes/DN
88
python train.py hparams/sepformer-dns-16k.yaml --data_folder <path/to/synthesized_shards_data> --baseline_noisy_shards_folder <path/to/baseline_dev_shards_data>
99
```
1010
## **DNSMOS Evaluation on baseline-testclips**
11-
*Reference: [Offical repo](https://github.com/microsoft/DNS-Challenge/tree/master/DNSMOS) <br>*
12-
Download the evalution models from [Offical repo](https://github.com/microsoft/DNS-Challenge/tree/master/DNSMOS) and save it under `DNSMOS`. Then, to run DNSMOS evalution on the baseline-testclips saved in the above step.
11+
*Reference: [Official repo](https://github.com/microsoft/DNS-Challenge/tree/master/DNSMOS) <br>*
12+
Download the evaluation models from [Official repo](https://github.com/microsoft/DNS-Challenge/tree/master/DNSMOS) and save it under `DNSMOS`. Then, to run DNSMOS evaluation on the baseline-testclips saved in the above step.
1313
```
1414
# Model=SepFormer
1515
python dnsmos_local.py -t results/sepformer-enhancement-16k/1234/save/baseline_audio_results/enhanced_testclips/ -o dnsmos_enhance.csv

‎recipes/DNS/enhancement/composite_eval.py‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -277,14 +277,14 @@ def wss(ref_wav, deg_wav, srate):
277277
distortion = []
278278

279279
for frame_count in range(num_frames):
280-
# (1) Get the Frames for the test and reference speeech.
280+
# (1) Get the Frames for the test and reference speech.
281281
# Multiply by Hanning window.
282282
clean_frame = clean_speech[start : start + winlength]
283283
processed_frame = processed_speech[start : start + winlength]
284284
clean_frame = clean_frame * window
285285
processed_frame = processed_frame * window
286286

287-
# (2) Compuet Power Spectrum of clean and processed
287+
# (2) Compute Power Spectrum of clean and processed
288288
clean_spec = np.abs(np.fft.fft(clean_frame, n_fft)) ** 2
289289
processed_spec = np.abs(np.fft.fft(processed_frame, n_fft)) ** 2
290290
clean_energy = [None] * num_crit
@@ -340,8 +340,8 @@ def wss(ref_wav, deg_wav, srate):
340340
n -= 1
341341
processed_loc_peak.append(processed_energy[n + 1])
342342

343-
# (6) Compuet the WSS Measure for this frame. This includes
344-
# determination of the weighting functino
343+
# (6) Compute the WSS Measure for this frame. This includes
344+
# determination of the weighting function
345345
dBMax_clean = max(clean_energy)
346346
dBMax_processed = max(processed_energy)
347347

@@ -379,7 +379,7 @@ def wss(ref_wav, deg_wav, srate):
379379
)
380380

381381
# this normalization is not part of Klatt's paper, but helps
382-
# to normalize the meaasure. Here we scale the measure by the sum of the
382+
# to normalize the measure. Here we scale the measure by the sum of the
383383
# weights
384384
distortion[frame_count] = distortion[frame_count] / np.sum(W)
385385
start += int(skiprate)
@@ -415,7 +415,7 @@ def llr(ref_wav, deg_wav, srate):
415415
distortion = []
416416

417417
for frame_count in range(num_frames):
418-
# (1) Get the Frames for the test and reference speeech.
418+
# (1) Get the Frames for the test and reference speech.
419419
# Multiply by Hanning window.
420420
clean_frame = clean_speech[start : start + winlength]
421421
processed_frame = processed_speech[start : start + winlength]

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL