ba4be087d5
Create PR to main with cherry-pick from release / cherry-pick (push) Failing after 0s
CICD NeMo / pre-flight (push) Failing after 0s
CICD NeMo / configure (push) Has been skipped
Build, validate, and release Neural Modules / pre-flight (push) Failing after 1s
CICD NeMo / code-linting (push) Has been skipped
Build, validate, and release Neural Modules / release (push) Has been skipped
Build, validate, and release Neural Modules / release-summary (push) Has been cancelled
CICD NeMo / cicd-test-container-build (push) Has been cancelled
CICD NeMo / cicd-import-tests (push) Has been cancelled
CICD NeMo / L0_Setup_Test_Data_And_Models (push) Has been cancelled
CICD NeMo / cicd-main-unit-tests (push) Has been cancelled
CICD NeMo / cicd-main-speech (push) Has been cancelled
CICD NeMo / Nemo_CICD_Test (push) Has been cancelled
CICD NeMo / Coverage (e2e) (push) Has been cancelled
CICD NeMo / Coverage (unit-test) (push) Has been cancelled
CodeQL / Analyze (python) (push) Has been cancelled
CICD NeMo / cicd-wait-in-queue (push) Has been cancelled
Speech Self-Supervised Learning
This directory contains example scripts to self-supervised speech models.
There are two main types of supported self-supervised learning methods:
- Wav2vec-BERT:
speech_pre_training.py - NEST:
masked_token_pred_pretrain.py- For downstream tasks that use NEST as multi-layer feature extractor, please refer to
./downstream/speech_classification_mfa_train.py - For extracting multi-layer features from NEST, please refer to
<NEMO ROOT>/scripts/ssl/extract_features.py - For using NEST as weight initialization for downstream tasks, please refer to the usage of maybe_init_from_pretrained_checkpoint.
- For downstream tasks that use NEST as multi-layer feature extractor, please refer to
For their corresponding usage, please refer to the example yaml config:
- Wav2vec-BERT:
examples/asr/conf/ssl/fastconformer/fast-conformer.yaml - NEST:
examples/asr/conf/ssl/nest/nest_fast-conformer.yaml
The dataset format follows that of ASR models, but no groundtruth transcriptions are needed. For example, the jsonl file specified in manifest_filepath should look like:
{"audio_filepath": "path/to/audio1.wav", "duration": 10.0, "text": ""}
{"audio_filepath": "path/to/audio2.wav", "duration": 5.0, "text": ""}
Please refer to the ASR dataset documentation for more details.
For most efficient data loading, please refer to