-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Self-supervised tutorial & update #3344
Conversation
Signed-off-by: sam1373 <[email protected]>
Signed-off-by: sam1373 <[email protected]>
Signed-off-by: sam1373 <[email protected]>
Signed-off-by: sam1373 <[email protected]>
Signed-off-by: sam1373 <[email protected]>
Signed-off-by: sam1373 <[email protected]>
Signed-off-by: sam1373 <[email protected]>
Signed-off-by: sam1373 <[email protected]>
This pull request introduces 1 alert and fixes 1 when merging 7bc8f88 into 8ce6e7a - view on LGTM.com new alerts:
fixed alerts:
|
This pull request introduces 1 alert and fixes 1 when merging 690b8ec into 8ce6e7a - view on LGTM.com new alerts:
fixed alerts:
|
Signed-off-by: sam1373 <[email protected]>
Signed-off-by: sam1373 <[email protected]>
This pull request fixes 1 alert when merging 1b81e44 into 89910ae - view on LGTM.com fixed alerts:
|
/blossom-ci |
Signed-off-by: sam1373 <[email protected]>
This pull request fixes 1 alert when merging b8e5bf0 into a3312f3 - view on LGTM.com fixed alerts:
|
Signed-off-by: sam1373 <[email protected]>
This pull request fixes 1 alert when merging d5ded21 into a3312f3 - view on LGTM.com fixed alerts:
|
This pull request fixes 1 alert when merging b42c747 into a3312f3 - view on LGTM.com fixed alerts:
|
This pull request fixes 1 alert when merging 62f4bc9 into eb33ddd - view on LGTM.com fixed alerts:
|
This pull request fixes 1 alert when merging c899811 into f7e4ed7 - view on LGTM.com fixed alerts:
|
Signed-off-by: sam1373 <[email protected]>
Signed-off-by: sam1373 <[email protected]>
Signed-off-by: sam1373 <[email protected]>
Signed-off-by: sam1373 <[email protected]>
Signed-off-by: sam1373 <[email protected]>
Signed-off-by: sam1373 <[email protected]>
Signed-off-by: sam1373 <[email protected]>
Signed-off-by: sam1373 <[email protected]>
This pull request fixes 1 alert when merging 6d38032 into 7c97e33 - view on LGTM.com fixed alerts:
|
Signed-off-by: sam1373 <[email protected]>
nemo/core/classes/modelPT.py
Outdated
|
||
init_from_pretrained_model: Str name of a pretrained model checkpoint (obtained via cloud). | ||
The model will be downloaded (or a cached copy will be used), instantiated and then | ||
its state dict will be extracted. | ||
its state dict will be extracted. If loading from multiple files, you can pass in a dict |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How can user pass such a dictionary with hydra?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added example
tutorials/asr/README.md
Outdated
@@ -29,6 +29,8 @@ In this repository, you will find several tutorials discussing what is Automatic | |||
|
|||
10) `ASR_with_Transducers`: In this tutorial, we take a deep dive into Transducer based ASR models, discussing the similarity of setup and config to CTC models and then train a small ContextNet model on the AN4 dataset. We then discuss how to change the decoding strategy of a trained Transducer from greedy search to beam search. Finally, we wrap up this tutorial by extraining the alignment matrix from a trained Transducer model. | |||
|
|||
11) `Self_Supervised_Pre_Training`: It can often be difficult to obtain labeled data for ASR training. In this tutorial, we demonstrate how to pre-train a small Citrinet model in an unsupervised manner, and then fine-tune with CTC loss. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about adding this new feature of self-supervised learning to the readme of nemo?
This pull request fixes 1 alert when merging b3564c1 into 7c97e33 - view on LGTM.com fixed alerts:
|
Signed-off-by: sam1373 <[email protected]>
This pull request fixes 1 alert when merging 223e048 into 7c97e33 - view on LGTM.com fixed alerts:
|
Signed-off-by: sam1373 <[email protected]>
This pull request fixes 1 alert when merging 3767be4 into 7c97e33 - view on LGTM.com fixed alerts:
|
This pull request fixes 1 alert when merging 78869b9 into 7c97e33 - view on LGTM.com fixed alerts:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
This pull request fixes 1 alert when merging 40823c1 into 360fa7c - view on LGTM.com fixed alerts:
|
* update Signed-off-by: sam1373 <[email protected]> * update Signed-off-by: sam1373 <[email protected]> * version test Signed-off-by: sam1373 <[email protected]> * version test Signed-off-by: sam1373 <[email protected]> * image for tutorial Signed-off-by: sam1373 <[email protected]> * enc_final in model_defaults Signed-off-by: sam1373 <[email protected]> * enc_final in model_defaults Signed-off-by: sam1373 <[email protected]> * self-supervised tutorial Signed-off-by: sam1373 <[email protected]> * fix Signed-off-by: sam1373 <[email protected]> * fix Signed-off-by: sam1373 <[email protected]> * contextnet ssl config Signed-off-by: sam1373 <[email protected]> * remove test_ds from config Signed-off-by: sam1373 <[email protected]> * update recon decoder Signed-off-by: sam1373 <[email protected]> * don't save -last if val_loss is nan Signed-off-by: sam1373 <[email protected]> * check if val_loss is there Signed-off-by: sam1373 <[email protected]> * keep entries from same file together when tarring Signed-off-by: sam1373 <[email protected]> * keep entries from same file together when tarring Signed-off-by: sam1373 <[email protected]> * print num of files in shard Signed-off-by: sam1373 <[email protected]> * update Signed-off-by: sam1373 <[email protected]> * style Signed-off-by: sam1373 <[email protected]> * moving configs, add docstrings Signed-off-by: sam1373 <[email protected]> * tutorial updates Signed-off-by: sam1373 <[email protected]> * update test Signed-off-by: sam1373 <[email protected]> * update loading Signed-off-by: sam1373 <[email protected]> * update loading Signed-off-by: sam1373 <[email protected]> * update loading Signed-off-by: sam1373 <[email protected]> * update loading Signed-off-by: sam1373 <[email protected]> * fix Signed-off-by: sam1373 <[email protected]> * fix Signed-off-by: sam1373 <[email protected]> * citrinet configs Signed-off-by: sam1373 <[email protected]> * citrinet configs update Signed-off-by: sam1373 <[email protected]> * update Signed-off-by: sam1373 <[email protected]> * default include all Signed-off-by: sam1373 <[email protected]> * comments Signed-off-by: sam1373 <[email protected]> * docstring hydra example Signed-off-by: sam1373 <[email protected]>
* update Signed-off-by: sam1373 <[email protected]> * update Signed-off-by: sam1373 <[email protected]> * version test Signed-off-by: sam1373 <[email protected]> * version test Signed-off-by: sam1373 <[email protected]> * image for tutorial Signed-off-by: sam1373 <[email protected]> * enc_final in model_defaults Signed-off-by: sam1373 <[email protected]> * enc_final in model_defaults Signed-off-by: sam1373 <[email protected]> * self-supervised tutorial Signed-off-by: sam1373 <[email protected]> * fix Signed-off-by: sam1373 <[email protected]> * fix Signed-off-by: sam1373 <[email protected]> * contextnet ssl config Signed-off-by: sam1373 <[email protected]> * remove test_ds from config Signed-off-by: sam1373 <[email protected]> * update recon decoder Signed-off-by: sam1373 <[email protected]> * don't save -last if val_loss is nan Signed-off-by: sam1373 <[email protected]> * check if val_loss is there Signed-off-by: sam1373 <[email protected]> * keep entries from same file together when tarring Signed-off-by: sam1373 <[email protected]> * keep entries from same file together when tarring Signed-off-by: sam1373 <[email protected]> * print num of files in shard Signed-off-by: sam1373 <[email protected]> * update Signed-off-by: sam1373 <[email protected]> * style Signed-off-by: sam1373 <[email protected]> * moving configs, add docstrings Signed-off-by: sam1373 <[email protected]> * tutorial updates Signed-off-by: sam1373 <[email protected]> * update test Signed-off-by: sam1373 <[email protected]> * update loading Signed-off-by: sam1373 <[email protected]> * update loading Signed-off-by: sam1373 <[email protected]> * update loading Signed-off-by: sam1373 <[email protected]> * update loading Signed-off-by: sam1373 <[email protected]> * fix Signed-off-by: sam1373 <[email protected]> * fix Signed-off-by: sam1373 <[email protected]> * citrinet configs Signed-off-by: sam1373 <[email protected]> * citrinet configs update Signed-off-by: sam1373 <[email protected]> * update Signed-off-by: sam1373 <[email protected]> * default include all Signed-off-by: sam1373 <[email protected]> * comments Signed-off-by: sam1373 <[email protected]> * docstring hydra example Signed-off-by: sam1373 <[email protected]>
* update Signed-off-by: sam1373 <[email protected]> * update Signed-off-by: sam1373 <[email protected]> * version test Signed-off-by: sam1373 <[email protected]> * version test Signed-off-by: sam1373 <[email protected]> * image for tutorial Signed-off-by: sam1373 <[email protected]> * enc_final in model_defaults Signed-off-by: sam1373 <[email protected]> * enc_final in model_defaults Signed-off-by: sam1373 <[email protected]> * self-supervised tutorial Signed-off-by: sam1373 <[email protected]> * fix Signed-off-by: sam1373 <[email protected]> * fix Signed-off-by: sam1373 <[email protected]> * contextnet ssl config Signed-off-by: sam1373 <[email protected]> * remove test_ds from config Signed-off-by: sam1373 <[email protected]> * update recon decoder Signed-off-by: sam1373 <[email protected]> * don't save -last if val_loss is nan Signed-off-by: sam1373 <[email protected]> * check if val_loss is there Signed-off-by: sam1373 <[email protected]> * keep entries from same file together when tarring Signed-off-by: sam1373 <[email protected]> * keep entries from same file together when tarring Signed-off-by: sam1373 <[email protected]> * print num of files in shard Signed-off-by: sam1373 <[email protected]> * update Signed-off-by: sam1373 <[email protected]> * style Signed-off-by: sam1373 <[email protected]> * moving configs, add docstrings Signed-off-by: sam1373 <[email protected]> * tutorial updates Signed-off-by: sam1373 <[email protected]> * update test Signed-off-by: sam1373 <[email protected]> * update loading Signed-off-by: sam1373 <[email protected]> * update loading Signed-off-by: sam1373 <[email protected]> * update loading Signed-off-by: sam1373 <[email protected]> * update loading Signed-off-by: sam1373 <[email protected]> * fix Signed-off-by: sam1373 <[email protected]> * fix Signed-off-by: sam1373 <[email protected]> * citrinet configs Signed-off-by: sam1373 <[email protected]> * citrinet configs update Signed-off-by: sam1373 <[email protected]> * update Signed-off-by: sam1373 <[email protected]> * default include all Signed-off-by: sam1373 <[email protected]> * comments Signed-off-by: sam1373 <[email protected]> * docstring hydra example Signed-off-by: sam1373 <[email protected]>
Changelog