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

Vocab size to train LM and ASR #1370

Closed
ahmedalbahnasawy opened this issue Nov 18, 2019 · 6 comments
Closed

Vocab size to train LM and ASR #1370

ahmedalbahnasawy opened this issue Nov 18, 2019 · 6 comments
Labels
Question Question Stale For probot

Comments

@ahmedalbahnasawy
Copy link

what is the best vocab size to train huge english corpus+librispeech and which unit is better (unigram or bpe) ?

@sw005320 sw005320 added the Question Question label Nov 18, 2019
@sw005320
Copy link
Contributor

what is the best vocab size to train huge english corpus+librispeech

We did not observe large improvement when we use large BPE size. So, you can just use our default librispeech BPE size (5,000)

and which unit is better (unigram or bpe) ?

We did not observe a big difference. I think either is fine.

@ahmedalbahnasawy
Copy link
Author

ahmedalbahnasawy commented Nov 19, 2019

@sw005320 I tried 10000 vocab size for english dataset mixed with Librispeech and 5000 also (unigram unit)
Both giving the same result.
I think vocab size should be 30K if we are using BPE unit

@stale
Copy link

stale bot commented Jan 3, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the Stale For probot label Jan 3, 2020
@stale
Copy link

stale bot commented Feb 2, 2020

This issue is closed. Please re-open if needed.

@stale stale bot closed this as completed Feb 2, 2020
@rajeevbaalwan
Copy link

Have you observed the effect when we reduce nbpe or moving towards character based ASR ?

@ahmedalbahnasawy
Copy link
Author

ahmedalbahnasawy commented Feb 21, 2021

@rajeevbaalwan not observed any improvement. Character based model suffers from contextual informations.

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

No branches or pull requests

3 participants