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

There is a problem about training a RNN-T model? #96

Open
scufan1990 opened this issue Dec 15, 2021 · 4 comments
Open

There is a problem about training a RNN-T model? #96

scufan1990 opened this issue Dec 15, 2021 · 4 comments

Comments

@scufan1990
Copy link

Hi,
There is a problem about training a conformer+RNN-T model.
How about the cer and wer with one GPU?

I'm train the model on one RTX TITAN GPU, training the conformer(encoder layers 16, encoder dim 144, decoder layer 1, decoder dim 320) on Librispeech 960h., after 50 epoch training the CER is about 27 and don't reduce anymore.

could you tell me why?

@aheba
Copy link

aheba commented Dec 15, 2021

Hello,
We have a similar implementation within speechbrain (implemented with Python-Numba), you can take a look https://github.com/speechbrain/speechbrain/tree/develop/recipes/LibriSpeech/ASR/transducer
transducer implementation:
https://github.com/speechbrain/speechbrain/blob/develop/speechbrain/nnet/loss/transducer_loss.py

otherwise, you have the torchaudio supporting this lib within torchaudio 1.0, check:
https://pytorch.org/audio/stable/functional.html#rnnt-loss

we are working on supporting the torchaudio within speechbrain as well see:
speechbrain/speechbrain#1199

@flp1990
Copy link

flp1990 commented Dec 16, 2021

Hi, thank you!
I will try it later.

@csukuangfj
Copy link

There is also an implementation at https://github.com/csukuangfj/optimized_transducer
that uses less GPU memory.

@yufang67
Copy link

yufang67 commented Aug 2, 2022

Hi @scufan1990 ,
did you resolve the issue ? i have some training in which the rnnt loss stop reducing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants