Skip to content

[Question] How to adapt knowledge-distillation to the ASR classes? #1996

Description

@jprobichaud

Thanks for this great toolkit!

I'm seriously looking at implementing some knowledge distillation techniques for the ASR classes. I found this very simple and elegant pytorch-lightning approach here: https://github.com/vrvlive/knowlege-distillation/blob/master/training_module.py and I wonder how I could adapt it to EncDecCTCModel or EncDecCTCBPEModel classes (as well as for the rnn-t or conformer cases).

I would like a pointer or two, if possible, since the NeMo classes aren't trivial pl.LightningModule. What "worries" me the most is how the audio preprocessing pipeline would impact how we can simply call "forward()" for example.

Where should I start?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions